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
mentioned...

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):
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to