Selection
E.g.
>>> x = -3
>>> if x < 0:
print "negative"
elif x == 0:
print "zero"
else:
print "positive"
negative
Previous slide
Next slide
Back to first slide
View graphic version