- 2
I need Help with Flight Time question no.6
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. #flighttime
5 ответов
+ 5
Peter Mousaferiadis ,
to get useful help from the community, we need to see your attempt first. without having seen your code, it is difficult to find out where the issue is.
=> please put your code in playground and link it here
thanks!
+ 1
To find out the flight time, you need to divide the distance by the speed
0
Peter Mousaferiadis
We can't see your code through that link.
By the way why did you divide with 60. You need to calculate hours not minutes.
Description says you have distance (miles) and you have speed (miles / hour) now calculate total hours.
- 1
@lothar - here is my code. What's the matter with it. When you say the playground. What is that?
print ((7425//550)//60
Here is link https://www.sololearn.com/learning/eom-project/1169/1440