- 1

Write a program to take two integers as input and output their sum.

I don't exactly know how to complete this one .I've, run different variations on how to take the input and output the sum ; but I still am confused can someone help.

15th Jul 2021, 1:20 AM
Mahki Wimbish
Mahki Wimbish - avatar
5 Réponses
+ 4
x = int(input()) Likewise, you can declare another variable to take input and add with x :)
15th Jul 2021, 1:53 AM
Simba
Simba - avatar
+ 1
Please provide your code for the assignments. https://www.sololearn.com/discuss/333866/?ref=app
15th Jul 2021, 1:53 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
Actually, I found a way around it thank you so much.
15th Jul 2021, 1:55 AM
Mahki Wimbish
Mahki Wimbish - avatar
+ 1
print(int(input()) + int(input()))
15th Jul 2021, 5:00 AM
David Ashton
David Ashton - avatar
0
How did you get that
15th Jul 2021, 1:13 PM
Mahki Wimbish
Mahki Wimbish - avatar