Madan.Burathi13

if else statement not working.

Discussion created by Madan.Burathi13 on Jun 13, 2013
Latest reply on Jun 13, 2013 by rzufelt
Hi this is madan I am new in Arcpy scirpting I was just writting follwong program in python window in Arcgis10.1 there is comming parsing error as shown below.
please someone help me how to correct it.



>>> def mm(var):
...     if var==200:
...         print "I am madan"
...         print ""
...         else:
...             print "I am nothing"
...             print ""
...            
Parsing error SyntaxError: invalid syntax (line 5)

Outcomes