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.
5 Antworten
+ 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..
+ 1
You were right, it's just print(7425 /550) and it did outputs, thank you anyway 🙏
+ 1
Alisher Juraev % is modulo operator used to output remainder and // is floor division operator , what you should use is division operator /
+ 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..
0
divide 7425 by 550 !