Hello, I have a mac mini mac os 10.4.11 aquamacs 22.3.1.
I wrote this program (please see below) after i got a python prompt (this
was after starting the interpreter in aquamacs)
please suggest what could have gone wrong here why am i getting a syntax
error
some_list = [3,6,2,5]
i=1
while i < 3:
print some_list[i], ";"
i=i+1
print some_list[3]
>>> File "<stdin>", line 4
print some_list[3]
^
SyntaxError: invalid syntax
>>>
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig