Oops, I based those examples on my initial solution, not the preferred one that preserved the questions. Here is some better code. They only use the shuffle method, and I've elaborated a bit on the basic solution, to illustrate some ideas for improvement.
Some things you might try as an exercise: provide an escape command, rather than having to use ctrl-c; eliminate the symmetrical questions, i.e. only one of 3x5 and 5x3 need be presented. Cheers
mt1.py
Description: application/python
mt2.py
Description: application/python
mt3.py
Description: application/python
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor