> You need to tell python that randint is in the random module.
> ie, instead of calling randint(), call random.randint().


now this reminds me of something... and i think i need the help of the
tutors here!  :-)

a long time ago, i recall that randint() was deprecated in favor of
randrange().  then in 2.2.2, it was "rehabilitated."  does anyone
recall exactly what happened and why?

thanks,
-wesley
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to