\documentclass[a4paper,10pt]{article}
\usepackage{tasks}
\usepackage{myXsim}

\title{DM 2 -- \Var{Nom}}
\tribe{Terminale ES-L}
\date{9 mars 2020}

\xsimsetup{
    solution/print = false
}

\begin{document}
\maketitle

\Block{include "./tpl_fonction.tex"}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "master"
%%% End:

