Hi, if willing, i need a person to proofread a project i have due tmrw and make sure it runs well (its a python calculator). also if willing i can send over the rubric and make sure it matches it. thanks so much!
def add1(num1, num2):
return num1 + num2
def sub1(num1, num2):
return num1 - num2
def multiply1(num1, num2):
return num1 * num2
def divide1(num1, num2):
return num1 / num2
print("Please select operation -\n"
"1. Add\n"
"2. Subtract\n"
"3. Multiply\n"
"4. Divide\n")
choice=int(input("Select operations form 1, 2, 3, 4 :"))
num1=int(input("Enter first number: "))
num2=int(input("Enter second number: "))
if choice==1:
print(num1, "+", num2, "=",
add1(num1, num2))
elif choice==2:
print(num1, "-", num2, "=",
sub1(num1, num2))
elif choice==3:
print(num1, "*", num2, "=",
multiply1(num1, num2))
elif choice==4:
print(num1, "/", num2, "=",
divide1(num1, num2))
else:
print("Invalid input")