im trying to make a simple calculator: [CODE] loop = 1 while loop == 1: print "Welcome to Jakes' Calculator" print "1) addition" print "3) multiplication" choice = raw_input("Enter a number 1-4: ") break if choice.strip() == "1": a = input("enter the first number: ") b = input("enter the second number: ") c = a + b print a, "plus", b, "equals", c elif choice.strip() == "3": a = input("enter the first number: ") b = input("enter the second number: ") c = a * b print a, "times", b, "equals", c elif choice.strip() != "1" "3" : print "Not …

Member Avatar
Member Avatar
+0 forum 2

The End.