+ 4
Problem in Payton 3
How can I make simple calculator? My code is not working.
4 Answers
+ 4
num1 = int(input("enter number 1: "))
num2 = int(input("enter number 2: "))
result = num1 + num2
print(result)
+ 4
num1 = int(input())
num2 = int(input())
result = num1 + num2
print(result)
It is a correct code. I got it
0
Where is your code
0
Both are correct, works fine..
Then which one is not working..?