Addition of numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Addition of numbers

x= int(input("Enter first number:")) y= int(input("Enter second number:")) sum=x+y average=sum/2 print("Sum of the given two numbers is:", sum) print("Average of the given numbers is:", average)

21st Dec 2017, 6:13 PM
Bhushan Rane
Bhushan Rane - avatar
1 Answer
+ 8
If you want help with a particular bit of code, you can save it in the Code Playground and share it so we can check it out (three dots in the corner -> share -> copy to clipboard -> paste in Q&A with your question) If you just want to display your (non-web) code, you can post it as an answer here: https://www.sololearn.com/Discuss/347139/?ref=app
21st Dec 2017, 6:35 PM
David Ashton
David Ashton - avatar