"Dipo Elegbede" <[email protected]> wrote
you should type something like:
x = raw_input('Enter a Number: ')
x is a variable that takes whatever value you type in.
However, if it were python 2.6, type:
x = input('Enter a Number: ')

Actually the other way round.
input() for Python v 3 and raw_input() for Python 2.x.

Alan G.

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to