Hi Byte!

Your code should look like this:

x = raw_input('Please enter your name: ')
if x == 'myself': print 'OK'

Because myself should be a string and not a variable name, you have to 
put it in quotes.

Regards, Florian.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to