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.
Información del documento
- Subido en
- 15 de abril de 2023
- Número de páginas
- 1
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas