Today we structure our program and learn how to save our scientific results.
main.py file structure.result.txt with correct formatting.result.txt RequirementAt the end of the 10-minute run, your program must write a file named result.txt containing only your estimated speed.
7.1235). Do not include units like "km/s" or extra text.Your result needs to be precise. We use Python's string formatting to ensure we have enough significant figures."{:.4f}".format(value) keeps 4 decimal places.
calculate_speed inputs and verify that result.txt is updated correctly in the output terminal.