How to solve the flight time | Sololearn: Learn to code for FREE!

-18

How to solve the flight time

?

11/13/2021 6:09:42 AM

Sh.M

11 Answers

New Answer

0

yeah i know the solution is x=7425 y=550 h=(x/y) print (float(h))

0

Did not act

0

Thanks tanks very tanks

0

I had transcribed X and Y, the truth😅

0

print(7425.0/550.0)

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, the plane flies at an average speed of 550 miles an hour. Calculate and output the total flight time in hours.

0

(7425.0/550.0)

0

x=7425 y=550 h=(x/y) print(float(h))

0

def time(distance, speed):   time = distance / speed     print(time) time(7425, 550) speed = distance / time time = distance / speed

-1

Sh.M It will be helpful if you insert your code

-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.