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

\author{Benjamin Bertrand}
\title{Vecteur et coordonnées - Exercices}
\date{avril 2022}

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


\begin{document}
\setcounter{exercise}{8}
\input{exercises.tex}

\printcollection{banque}

\end{document}
