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