Invalid Syntax

Ltc Hotspot ltc.hotspot at gmail.com
Tue Aug 9 16:20:35 EDT 2016


Hi, Everyone:

What is the source of the following, 
'error message: SyntaxError: invalid syntax (<string>, line 2)'

v. Python 3.3

Code reads:

x=1
if x==1
    # indent 4 spaces
    print "x = 1"

Hal



More information about the Python-list mailing list