+ 4

Problem in Payton 3

How can I make simple calculator? My code is not working.

15th Oct 2020, 7:28 PM
Shakhzod Yuldoshov
Shakhzod Yuldoshov - avatar
4 Respuestas
+ 4
num1 = int(input("enter number 1: ")) num2 = int(input("enter number 2: ")) result = num1 + num2 print(result)
15th Oct 2020, 7:38 PM
Shakhzod Yuldoshov
Shakhzod Yuldoshov - avatar
+ 4
num1 = int(input()) num2 = int(input()) result = num1 + num2 print(result) It is a correct code. I got it
15th Oct 2020, 7:41 PM
Shakhzod Yuldoshov
Shakhzod Yuldoshov - avatar
0
Where is your code
15th Oct 2020, 7:32 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
0
Both are correct, works fine.. Then which one is not working..?
15th Oct 2020, 8:36 PM
Jayakrishna 🇮🇳