Question: Python IDLE 3.9 Simple Function Program - Given 2 values (generated by main program) Write a function that returns their sum. number1=int(input(Please enter a number:

Python IDLE 3.9 Simple Function Program - Given 2 values (generated by main program) Write a function that returns their sum.

number1=int(input("Please enter a number: ")) number2=int(input("Please enter a second number: "))

*I can only get Python to generate the numbers, but need help having them add the total of the two numbers. Please help?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!