- 4

Python code (pls help)

You need to calculate the flight time of an upcoming trip. You are flying from LA to Sydney, covering a distance of 7425 miles, the plane flies at an average speed of 550 miles an hour. Calculate and output the total flight time in hours. Hint The result should be a float.

10th Aug 2022, 1:51 AM
Saurabh Kumar
Saurabh Kumar - avatar
2 Réponses
+ 2
Use basic physics and math and then impliment in any coding language
10th Aug 2022, 2:35 AM
Manas Dixit
Manas Dixit - avatar
+ 2
Distance / speed gives you a time (v = d/t, so t = d/v) The result unit depends on the distance and speed unit.
10th Aug 2022, 7:46 AM
Arthur Le Floch