Answer:
def miles_to_laps(user_miles):
laps = user_miles / 0.25
return laps
miles = float(input("Enter number of miles: "))
print('{:.2f}'.format(miles_to_laps(miles)))
Step-by-step explanation:
Create a function named miles_to_laps that takes one parameter, user_miles
Inside the function, calculate the number of laps, divide the user_miles by 0.25 (Since it is stated that one lap is 0.25 miles). Return the laps
Ask the user to enter the number of miles
Call the function with that input and print the result in required format