New User in Python: What went wrong?

Michael Urban urba0083 at tc.umn.edu
Wed Jan 15 13:50:49 EST 2003


Look carefully at the code snippet. You are missing the comma
after the " and before the mathematical expression/

news.verizon.net wrote:
> SyntaxError: invalid syntax
>   File "C:/Python/test.py", line 10
>     print "12*4 =" 12*4
>                          ^
> SyntaxError: invalid syntax





More information about the Python-list mailing list