[Tutor] tutorial
AMoore4437@aol.com
AMoore4437@aol.com
Wed, 23 Jan 2002 09:05:00 EST
--part1_8e.21bb1469.29801d0c_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
hello,
i have just started to learn python (i haven't got very far with this
tutorial)
http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro
i have tried to do the first few commands but have come unstuck (see below)
>>> print "hello world"
hello world
>>> print "Here are the ten numbers from 0 to 9"
Here are the ten numbers from 0 to 9
>>> for 1 in range(10):
print 1,
SyntaxError: can't assign to literal
>>>
what am i doing wrong??
i am running python 2.2 on wndows 95
thank you
tony more
--part1_8e.21bb1469.29801d0c_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
<HTML><FONT FACE=arial,helvetica><FONT SIZE=2>
<BR>hello,
<BR>i have just started to learn python (i haven't got very far with this tutorial)
<BR>
<BR>http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro
<BR>
<BR>i have tried to do the first few commands but have come unstuck (see below)
<BR>
<BR>>>> print "hello world"
<BR>hello world
<BR>>>> print "Here are the ten numbers from 0 to 9"
<BR>Here are the ten numbers from 0 to 9
<BR>>>> for 1 in range(10):
<BR> print 1,
<BR>
<BR>SyntaxError: can't assign to literal
<BR>>>>
<BR>
<BR>what am i doing wrong??
<BR>
<BR>i am running python 2.2 on wndows 95
<BR>
<BR>
<BR>
<BR>thank you
<BR>tony more</FONT></HTML>
--part1_8e.21bb1469.29801d0c_boundary--