Can anyone tell me what is the result of that assignment airplane question in python for beginners | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me what is the result of that assignment airplane question in python for beginners

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.

25th Mar 2021, 7:48 AM
Abhinav Srivastava
Abhinav  Srivastava - avatar
6 Answers
+ 1
No please post question info or a link to question. Also post your attempt along with it!
25th Mar 2021, 7:54 AM
Slick
Slick - avatar
+ 1
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.
25th Mar 2021, 7:58 AM
Abhinav Srivastava
Abhinav  Srivastava - avatar
0
okay great, just find out the time using simple math bro. distance / speed
25th Mar 2021, 8:01 AM
Slick
Slick - avatar
0
thats it haha DISTANCE / SPEED
25th Mar 2021, 8:04 AM
Slick
Slick - avatar
0
A plane is flying that goes 550 miles per hour. We want to calculate, for example, how many hours does it go 7,000 miles? We just need to divide the length of the route by the speed and thus understand the amount of flight time. For example, when we go at a speed of two kilometers per hour, we travel two kilometers after an hour. Finally, as our friend said (path length divided by speed). If you need a piece of code, I attached it for you. https://code.sololearn.com/c7bi6cxeR2di/?ref=app
25th Mar 2021, 10:20 AM
MohammadMahdi
MohammadMahdi - avatar
- 1
Can you tell me the algorithms
25th Mar 2021, 8:01 AM
Abhinav Srivastava
Abhinav  Srivastava - avatar