On 06/09/13 20:52, Sammy Cornet wrote:
on my Interpreter windows, as my first attempt, I wrote "hello world"
but it keep telling me this: SyntaxError: invalid syntax
Can you help me please?
Python doesn't understand what "hello world" means.
It's just a value, like 42 or True to python. So python reports a syntax
error (ie 'grammar' it doesn't understand).
You need to tell Python what to do with your text. I suspect you
wanted to print it so you should type:
print("hello world")
Find a tutorial you like and follow it until you get
the hang of things.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor