Boolean operation in if
# number <= 10 and number >= 1 could be written as 1 <= number <= 10 number = 9 if number <= 10 and number >= 1: print 'Great!' else: print 'Wrong!'