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

\author{Benjamin Bertrand}
\title{Photo numérique}
\date{Novembre 2022}

\DeclareExerciseCollection[step=2]{banque}
\xsimsetup{collect}

\pagestyle{empty}

\begin{document}
\input{exercises.tex}

\printcollection{banque}

\end{document}
