Write a Python module called inches2centimeters that will accept one float parameter, inches,
and returns a float value that represents the distance in centimeters. Note: there are 2.54
centimeters in 1 inch. For example inches2centimeters( 10 ) will return a value of 25.4 . Write a
small main module that asks the user for input, calls the function, and displays the output from
the function call.

Write a Python module called inches2centimeters that will accept one .pdf

  • 1.
    Write a Pythonmodule called inches2centimeters that will accept one float parameter, inches, and returns a float value that represents the distance in centimeters. Note: there are 2.54 centimeters in 1 inch. For example inches2centimeters( 10 ) will return a value of 25.4 . Write a small main module that asks the user for input, calls the function, and displays the output from the function call.