Seymore4Head Seymore4Head at Hotmail.invalid
Sun Sep 14 01:47:35 CEST 2014

Here is a screenshot of me trying Dave Briccetti's quiz program from
the shell and it (the shuffle command) works.

Two questions
If you import random, do you need to "from random import shuffle"?

Why does shuffle work from the command line and not when I add it to
this program?

import random
import shuffle
print (nums)

I get:
No module named 'shuffle'

More information about the Python-list mailing list