I've been following the tutorial here
But when I get to section 1.10 there is

person = input('Enter your name: ')

However this generates an error

>>> person = input('Enter your name: ')
Enter your name: hi

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    person = input('Enter your name: ')
  File "<string>", line 1, in <module>
NameError: name 'hi' is not defined

I have no idea what I am doing wrong with this - it look correct to me.

I'm obviously doing something stupid, anyone can suggest what?

/M .

Martin S

Reply via email to