[Tutor] Python Calculator Help needed ASAP!!

Raj Patel Raj_patel56 at hotmail.com
Mon Sep 30 19:12:24 EDT 2019


Hi so Im a university student new to python, and I’ve been given a mini assignment to create a calculate on python, on of the function it must have is that once the user has already calculated something and wants to recalculate something with that result the second time the input calls the result becomes one of the two nums

Ex. Choose an operator: +
Enter the first number: 56
Enter the second number: 8
Result: 64

Choose an operator:+
Enter the first number: (since I’d be leaving this blank the result from the last equation would become the number here)
Enter the second number: 10
Result: 74




More information about the Tutor mailing list