On 10/06/14 15:55, Stephen Brazil wrote:
Hello! I am brand new to python and need to know how to make the attached lines of code work. Should be pretty self-explanatory.
Not if your mail tool doesn't display images. This is a text based list so your code is invisible... But on another mail reader....
You have semi colons which are not needed in Python You have curly braces which are not needed in Python You have no quotes around your string (stephen) which are needed You have no colons after the if or else statements, which are needed. You need to go back to your tutorial and read it more carefully. And remember that Python is not C/C++/Java/JavaScript/Perl or PHP... Or try mine, especially the topic on Branching -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor