0
What he folds?
(a:= input()) (b:= input()) print (a+b) Why does he put two numbers side by side instead of together?
1 Answer
+ 3
Nexus
Because input () function bydefault returns string so if you take input as number then it will be concatenate.
So 1 and 2 would be 12
So if you want to take input as number then cast input () with int function like:
a = int(input())
b = int(input())
print (a + b)
https://www.sololearn.com/post/1159836/?ref=app