+ 2
Input() returns string ,so "2"+"3" is 5 ,convert input into int like int(input())
3rd May 2020, 3:05 PM
Abhay
Abhay - avatar
+ 2
Here's what you need to do : num1 = int(input()) num2 = int(input()) print(num1 + num2)
3rd May 2020, 3:07 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar