0

Hey world, I am new here. If someone could help me on this, thank you. 🙏

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.

4th Mar 2021, 10:25 PM
Alisher Juraev
Alisher Juraev - avatar
5 ответов
+ 1
Thank you kindly for your answer. Like print (7425%550) or print (7425 //550) honestly I have tried these one, but it doesn't output..
4th Mar 2021, 10:30 PM
Alisher Juraev
Alisher Juraev - avatar
+ 1
You were right, it's just print(7425 /550) and it did outputs, thank you anyway 🙏
4th Mar 2021, 10:34 PM
Alisher Juraev
Alisher Juraev - avatar
+ 1
Alisher Juraev % is modulo operator used to output remainder and // is floor division operator , what you should use is division operator /
4th Mar 2021, 10:34 PM
Abhay
Abhay - avatar
+ 1
Correct, just got started 😉 and honestly my math is very low.. But I will challenge myself. One more time, thank you for your time..
4th Mar 2021, 10:39 PM
Alisher Juraev
Alisher Juraev - avatar
0
divide 7425 by 550 !
4th Mar 2021, 10:27 PM
Abhay
Abhay - avatar