0
Calculate and output the total flight time in hours.
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.
8 ответов
0
distance = 7425
speed = 550
time = distance / speed
print("Total flight time is", time, "hours")
+ 4
Hi! Please, show us your code attempt! Thx!
+ 2
Use print command and / operator
+ 1
Thank you
0
Print(7425//550)
0
Am new here, I have little knowledge about programming, need help
0
Here is the code:-
x=7425
print (x/550)
0
# Flying time from LA to Sydney
distance=7425
speed=550
print(distance/speed)