+ 1
How to write a simple calculator program.The one given in the example gives errors
1 Odpowiedź
+ 3
firstInput = input("Enter 1st input value")
secondInput = input("2nd input")
print(int(firstInput)+int(secondInput))
expect TypeError:
print("Only nums allowed")