On 2011-10-05 05:13, lina wrote:
$ python3 counter-vertically.py
    ^^^^^^^
   File "counter-vertically.py", line 20
     print item
              ^
SyntaxError: invalid syntax

In Python 3 print is a function: print(item)

In another message in this thread you've said:
"Sorry, I am still lack deep understanding about something basic."

IMHO you should take the time to read the tutorial (as others have already told you) before continuing your work:
http://docs.python.org/py3k/tutorial/index.html

Bye, Andreas

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to