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

\author{\Var{ author }}
\title{\Var{title} - Cours}
\date{\Var{date.strftime("%B %Y")}}

\DeclareExerciseCollection{banque}
\xsimsetup{
    step=1,
}

\begin{document}

\input{exercises.tex}
\printcollection{banque}

\end{document}
