[Tutor] if else
Terje Johan Abrahamsen
terjeja@hotmail.com
Wed, 22 May 2002 17:55:36 +0000
I try to use the if else statement. For example here:
a = "python"
if a = "python" :
print "Yes"
else :
print "No"
or
a = 1
if a = 1 :
print "Yes"
else :
print "No"
But, it doesn't work. When I try to run it, I get the following response:
"Failed to run script - syntax error - invalid syntax" What do I do wrong?
Thanks in advance,
Terje
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com