[Tutor] Help with "Guess the number" script

spir denis.spir at gmail.com
Mon Mar 3 11:29:26 CET 2014


On 03/03/2014 11:27 AM, spir wrote:
> How would you define what these variables represent, using everyday language? My
> own definitions would lead me to choose the following variable names:
>       guess_text   = raw_input(promt)
>       guess_number = int(user_guess)
>       return guess_number

sorry, should be:

>       guess_text   = raw_input(promt)
>       guess_number = int(guess_text)
>       return guess_number

d


More information about the Tutor mailing list