# Sam Vandervelde # Sept 6, 2012 # A silly arithmetic and logic practice program number = input("Please enter a two-digit number: ") if number%2 == 0: print "Your number was even." else: print "Boo!" if number%2 == 1 and number>50: print "Odd and more than 50." else: print "Boo!" if number%2 == 0 or number<50: print "Even or less than 50." else: print "Boo!" if number/10 == 3: print "Your number is in the 30s." else: print "Boo!" if number<60 or number>69: print "Your number is not in the 60s." else: print "Boo!" if number%10 == 8: print"The last digit is 8." else: print "boo!"