- 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 Answers
+ 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