Treloar, Nick wrote:
i am tying to buil a program using child screens
the program is going the make a random number and the user has to guess it .
 
so far i have made the gui  but how do i progame it to make the random number
Use the random module. Look it up in the Python documentation http://docs.python.org/lib/module-random.html.

You'd probably use random.randint(), assuming you are looking for a random integer.

This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender.

Personally I find disclaimers like the above to be a time-waster; I start reading them and then stop when I realize what it is. I also ignore such disclaimers. I would never take the time to "notify the sender". I assume your lawyers insist on it?

If you don't have to include it, please consider omitting it.

-- 
Bob Gailer
510-978-4454

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

Reply via email to