+ 1

How to write a simple calculator program.The one given in the example gives errors

17th Jan 2017, 2:30 PM
Akshay
Akshay - avatar
1 Odpowiedź
+ 3
firstInput = input("Enter 1st input value") secondInput = input("2nd input") print(int(firstInput)+int(secondInput)) expect TypeError: print("Only nums allowed")
17th Jan 2017, 2:37 PM
Will_De
Will_De - avatar