%Evaluate the output of the Python program with While loop and function
\input{smartass}
\begin{document}
%%BEGIN DEF
%definition of variables/modules used
#<
WhileFuncPrintEvalModule v1;
#>
%%END DEF

%%BEGIN QUESTION
#<v1.code#>

%%END QUESTION

%%BEGIN SOLUTION
#<v1.answers#>

%%END SOLUTION

%%BEGIN SHORTANSWER
#<v1.answers#>

%%END SHORTANSWER

\end{document}