Re: [Tutor] print problem python

2009-03-07 Thread Alan Gauld
mustafa akkoc mustafa.c...@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

Re: [Tutor] print problem python

2009-03-07 Thread W W
On Sat, Mar 7, 2009 at 3:11 AM, Alan Gauld alan.ga...@btinternet.com wrote: snip 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

Re: [Tutor] print problem python

2009-03-07 Thread Kent Johnson
On Sat, Mar 7, 2009 at 7:51 AM, W W sri...@gmail.com wrote: On Sat, Mar 7, 2009 at 3:11 AM, Alan Gauld alan.ga...@btinternet.com wrote: snip 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

[Tutor] print problem python

2009-03-06 Thread mustafa akkoc
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 -- Mustafa Akkoc ___ Tutor maillist

Re: [Tutor] print problem python

2009-03-06 Thread Vern Ceder
In Python 3, you need to put ( ) around what you want to print, so it would be: print(hello world) Cheers, Vern mustafa akkoc 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