[Tutor] Help with exercises from learning to program python wikibooks
John Palmer
speederpython at gmail.com
Sun Jul 4 15:20:48 CEST 2010
Hi
I've just decided to try an learn python but i'm already stuck on one of the
first exercises, i've given the link below:
http://en.wikibooks.org/wiki/Python_Programming/Creating_Python_programs
The exercise that i'm stuck on is number three:
I've looked at the solution but it appears not to be working when i use this
code
print ("Hello, ", end=" " )
print ("world!")
I get the following error:
File "hello.py", line 1
print ("Hello, ", end=" " )
^
SyntaxError: invalid syntax
I've tried every changing where the white space is and the commas but i just
cant get it to work.
any help would be much appreciated and thank you in advance
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100704/ba60d1fa/attachment.html>
More information about the Tutor
mailing list