For this portion of the lab design the solution in the following manner: Create a table using a two-dimensional list that stores a Fahrenheit temperature and the equivalent Celsius temperature. Use the following range of Fahrenheit temperatures: Starting at -10 through 100 in increments of 10. Thus, the Fahrenheit temperatures will be: -10, 0, 10, 20, 30, 40, 50…and so on. Display the contents of the list. Similarly create tables/lists for the following, starting at 0 through 100 in increments of 10: Miles to kilometers Gallons to liters Pounds to kilograms Inches to centimeters Display the contents of each list Save the program as firstname_lastname_Lab7a.py where you will replace firstname and lastname with your actual first and last name
For this portion of the lab design the solution in the following manner:
Create a table using a two-dimensional list that stores a Fahrenheit temperature and the equivalent Celsius temperature. Use the following range of Fahrenheit temperatures:
Starting at -10 through 100 in increments of 10.
Thus, the Fahrenheit temperatures will be:
-10, 0, 10, 20, 30, 40, 50…and so on.
Display the contents of the list.
Similarly create tables/lists for the following, starting at 0 through 100 in increments of 10:
Miles to kilometers
Gallons to liters
Pounds to kilograms
Inches to centimeters
Display the contents of each list
Save the program as firstname_lastname_Lab7a.py where you will replace firstname and lastname with your actual first and last name.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images