Abigail wrote: > Yesterday I downloaded and installed Python 3.1 and working through some > examples but I have hit a problem > >>>> a = raw_input("Enter a number" ) > Traceback (most recent call last): > File "<pyshell#6>", line 1, in <module> > a = raw_input("Enter a number" ) > NameError: name 'raw_input' is not defined>>>a = raw_input("Enter a number > ") > > What am I doing wrong? > > In Python 3 raw_input() is now simply called input()
regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/ Holden Web LLC http://www.holdenweb.com/ UPCOMING EVENTS: http://holdenweb.eventbrite.com/ -- http://mail.python.org/mailman/listinfo/python-list