okay,I'm going through this python tutorial, and according to the
tutorial, I can type this:

[code]
myList = [1,2,3,4]
for index in range(len(myList)):
    myList[index] += 1
print myList
[/code]

however, in my IDLE python shell, when I type

[code]
>>> myList = [1,2,3,4]
>>> for index in range(len(myList)):[/code]

it just gives me a prompt
[code]
>>> [/code]

?

why doesn't it just bring me to line three?  I need to have
persistence, cause little snags like these discourage me.  I know I
need thicker skin to write code.

any advice is appreciated

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to