# probsoln package FAQ

How do I insert something at the end of each problem? 🔗

As from v3.0, you can use \foreachproblem to iterate through each problem in the data set. It’s then up to you to decide how to format each problem. For example, if you want each problem to be in a separate item of a numbered list, followed by a horizontal line:

\begin{enumerate}
\foreachproblem{\item\thisproblem\par\hrulefill}
\end{enumerate}


2020-07-03 11:20:19