>>> if 1 > 2: ... print "Something's wrong" ... >>> >>> if (x > 3) and (x < 4): ... y = x ... elif x > 5: ... y = x / 2 ... else: ... y = x * 2 ...