Saturday, 10 August 2013

How to compare two variables in a if statement using Python?

How to compare two variables in a if statement using Python?

I have a problem with my syntax.
alarm = sound
off = sleeping
if alarm = off
print "I'm late for work"
What am I doing wrong?

No comments:

Post a Comment