PYTHON Coding Help! (While Loops With Input Validation) I Need Help Coding This Program. Instructions Are Below.
Question:
PYTHON Coding Help! (While loops with input validation) I need help coding this program. Instructions are below. Include code in the answer!
a) Keep both the outer and inner while loops to provide the user the ability to run the program again and provide input validation of the user input.
b) Instead of calculating BMI (Body Mass Index) change the program so that it:
i. Asks the user to enter MPH (Miles Per Hour). Allow float to be entered.
ii. Converts and displays the MPH and its value converted to KPM (Kilometers Per Hour). Look the formula up online. Display KPH as a whole number/no decimals.
iii. Make your program run and display as my sample run below does.
Sample run:
Enter MPH: 66 66.0 MPH = 106 KPH Would you like to make another MPH calculation (Y/N)? ct Invalid choice. Enter a Y or N? y
Enter MPH: 55 55.0 MPH = 89 KPH Would you like to make another MPH calculation (Y/N)? n