Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Managed to work out multiplication and division but am still getting syntax errors with triple addition.
- print("Hi I'm Glenn your personal calculator.")
- print("Lets divide some numbers")
- input1 = input("number 1> ")
- input2 = input("number 2> ")
- number1 = int(input1)
- number2 = int(input2)
- result = number1 / number2
- print (result)
- output = str(result)
- print (input1 + "รท" + input2 + " = " + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement