- 3
Input
Write a program to take two integers as input and output their sum. Sample Input: 2 8 Sample Output: 10
5 Answers
+ 2
Mustapha Hassani
Learn how indentation works in python
https://code.sololearn.com/cT5BRIbkia21/?ref=app
if use convert input to integer then that's would be integer so no need to cast integer value with int() function again. You can simply do this:
print (x + y)
0
x = int(input(2))
y = int(input(8))
z = int(x + y)
print (z)
0
Line 2 : unexpected intend