23. [4pts]Fix the following Python code: (Enter both first and last name until the user enter the word “LAST” for his last name.) firstName input (“Enter a first name: ) while firstName “LAST”: last Nameinput (“Enter a last name: “) print (“Name:”, firstName, lastName) Iyour Python code here] Write Python code to calculate the miles per gallon (MPG) fora vehicle based on miles traveled and number of gallons used. Get the miles traveled and number
OR
OR