Question: PYTHON ONLY Write a main function that has statements that do the following -read a number from the the keyboard and assign it to a
Write a main function that has statements that do the following -read a number from the the keyboard and assign it to a variable. You should display a message that says "Enter the number of feet:" call a function called convert feet to_inches passing the number that was read as a parameter. The function ign the returned value to a variable. -display the returned value to the screen with the message The feet you entered converted to inches is x00000xx, "inches. The xxooxox.x should be replaced by the value returned by the convert feet to_jnches function. Write a convert feet to inches function that takes a parameter and multiplies the parameter by 12. The function then returns the result of the calculation. Write a statement at the bottom that calls the main function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
