I ran this in IDLE:
>>> t = 'hi'
>>> print t
SyntaxError: invalid syntax (<pyshell#3>, line 1)

I've also tried this as sample.py :
import string
text = 'hello world'
print text


It gives me a syntax error on "print text" line

What's going on?
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to