You need to calculate the flight time of an upcoming trip. You are flying from LA to Sydney, covering a distance of 7425 miles, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

You need to calculate the flight time of an upcoming trip. You are flying from LA to Sydney, covering a distance of 7425 miles,

Phyton

26th Dec 2022, 4:49 PM
Nikhil Dhangar
3 Answers
+ 7
Nikhil Dhangar Time=distance/speed Try to attempt your code using this formula
26th Dec 2022, 6:00 PM
Riya
Riya - avatar
+ 3
Can I see your code?
26th Dec 2022, 5:28 PM
Knight
Knight - avatar
+ 2
The question is incomplete, But I got where you got stuck. ---- The relationship between distance, time, and speed is given as follows: Time = Distance/ Speed, In the problem, the distance is given, and you must be given the speed, or average speed, to calculate the flight time. Hope it helped.
26th Dec 2022, 6:04 PM
UnknownX
UnknownX - avatar