[Tutor] Begginer Python Problems - Urgent! Due by tomorrowmorning.

Alan Gauld alan.gauld at btinternet.com
Fri Sep 3 19:01:05 CEST 2010


"Dipo Elegbede" <delegbede at dudupay.com> 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.



More information about the Tutor mailing list