Re: Printing user input?

2007-11-15 Thread Mohammed_M
Thanks Mike, Lorenzo & Cliff for your replies. I definately will be reading up on namespaces & scopes. Thanks again guys :) -- http://mail.python.org/mailman/listinfo/python-list

Printing user input?

2007-11-15 Thread Mohammed_M
Hi, I'm v.new to Python, so please don't be too harsh :) I get a NameError with the code below - All I want to do is store some input taken from the user in a variable called name, & then print name # START CODE == # Print name demo def PersonsDetails():