How to write a python programme that take 2 integers as input and do addition as ouput? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to write a python programme that take 2 integers as input and do addition as ouput?

21st Dec 2020, 12:55 PM
Fouad Hassan
Fouad Hassan - avatar
3 Answers
+ 7
21st Dec 2020, 12:57 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 3
n1 = int(input()) n2 = int(input()) print(n1 + n2)
21st Dec 2020, 1:31 PM
Hips
Hips - avatar
+ 1
The python tutorial will help
21st Dec 2020, 9:42 PM
Sonic
Sonic - avatar