[Tutor] Extremely simple question

Mike G msg.ufo at gmail.com
Wed Jan 11 12:58:38 CET 2012

Hi Chris

I'm new to programming and Python myself so I would listen to the
previous guys first, and I'll repeat a bit of what has already been

Make sure you define 'x'. Is name really an 'int', or is it possibly a 'str'?

Fix any indentation issues.

Is there anything you can do with quotes - single or double:
print "You're not Chris!" or print 'You\'re not Chris!'

You should be able to make your code work as is but it would also look
nice in a function, passing the user 'raw_input' to a function -

def chris(name, height, weight):

More information about the Tutor mailing list