Answer:
In Python:
def meters_to_laps(length):
lap = length/50
print('{:.2f}'.format(lap))
Step-by-step explanation:
This line defines the function
def meters_to_laps(length):
This calculates the number of laps
lap = length/50
This prints the calculated number of laps
print('{:.2f}'.format(lap))
To call the function from main, use:
meters_to_laps(150)