Question: python please Q5. Write convert_lengths(num) (5 pts) Write a function called convert_length () , which takes an integer parameter, num representing the inches, and convert
Q5. Write convert_lengths(num) (5 pts) Write a function called convert_length () , which takes an integer parameter, num representing the inches, and convert that lenght to feet and inches. Here are some examples to clarify how convert_lengths(num) works: In [1]: convert_lengths(165) out [1]: 165 inches is is feet and 5 inches. In [2]: convert_lengths (234) out [2]: 234 inches is 19 feet and 6 inches. Hint: 1 foot =12 inches
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
