miles = float(input("Enter the number of miles: "))
laps = miles / 0.25
print("Number of laps:", laps)
Step-by-step explanation:
Prompt the user to enter the number of miles as a float value using the input() function.
Calculate the number of laps by dividing the number of miles by 0.25, since one lap in this scenario is 0.25 miles.
Finally, use the print() function to output the number of laps.