[Tutor] print problem python

Alan Gauld alan.gauld at btinternet.com
Sat Mar 7 10:11:32 CET 2009


"mustafa akkoc" <mustafa.cmpe at gmail.com> wrote

>i start learning pyton language i want to print some thing but when i 
>type :
> print "hello world"  but it give an error like this  SyntaxError: 
> invalid
> syntax (<pyshell#18>, line 1)
> i am using python shell version 3.0.1

If you are new to programming as well as Pyton I recommend
you get Python 2.6 rather than Python 3. Python 3 has a lot of
changes and most of the beginners material hasn't caught
up yet. It will be easier to get answers to your questions if
you stick with v2.6 and then when comfortable with that move
to v3 aand learn about the differences.

Sometimes newest isn't the best.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/ 




More information about the Tutor mailing list