Question: this needs to be a python function Question A5: You work for a company that creates custom tables for printed textbooks and your first assignment
this needs to be a python function

Question A5: You work for a company that creates custom tables for printed textbooks and your first assignment is to produce a formatted display of distance conversions between kilometers, miles and feet. You know that one kilometer is equivalent to 0.621371 miles and that one mile is 5,280 feet. Write a program named q1 () that prompts the user for the starting and ending distance in Kilometers (km), and an increment value. It should then print the conversion table showing values for Kilometers, Miles (M) and Feet (ft). Each value should be displayed as they are calculated. Examples: This program prints a translation table between the Kilometers (km) Miles (M) and Feet (ft) scales. Enter the Starting Kilometers (km): 5 Enter Ending Kilometers (km): 65 Increment value: 15 This program prints a translation table between km M ft the Kilometers (km) Miles (M) and Feet (ft) scales. 3.11 16404.19 Enter the Starting Kilometers (km): 10 12.43 65616.78 Enter Ending Kilometers (km): 100 21.75 114829.36 Increment value: 10 31.07 164041.94 km Mft 65 40.39 213254.53 ======================= 6.21 32808.39 12.43 65616.78 This program prints a translation table betwe 18.64 98425.17 the kilometers (km) Miles (M) and Feet (ft) 24.85131233.56 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
