Python_and_Data_Analytics_NEC_Week1_Solved
1. Write a program named my_ that displays the following information: Your name The city where you were born Your favorite sports team Your undergraduate major 2. A car's miles per gallon (MPG) can be calculated with the following formula: MPG = Miles driven ÷ Gallons of gas used Write a program named mles_ that asks the user for the number of miles driven and the gallons of gas used. It should calculate the car's MPG and display the result.
Document information
- Uploaded on
- April 15, 2023
- Number of pages
- 1
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers