input and type conversion in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

input and type conversion in python

what should i do to get this output enter first number: enter second number: (and i would like to add both the numbers and display the answer in python)

10th Jun 2020, 3:16 AM
DHIVYARAJESRI
DHIVYARAJESRI - avatar
3 Answers
+ 3
a=int(input('enter first number \n')) b=int(input('enter second number \n')) c=a+b print(c) Your problem may be solve like this
10th Jun 2020, 8:18 AM
Runtime Terror
Runtime Terror - avatar
10th Jun 2020, 3:23 AM
~♥~YO YO ~♥~
~♥~YO YO ~♥~ - avatar
+ 3
https://code.sololearn.com/cQbysNoQolez/?ref=app
10th Jun 2020, 4:41 AM
~♥~YO YO ~♥~
~♥~YO YO ~♥~ - avatar