0

Help with flight code

I’ve tried everything// . (( )) = + *please give me example how to write it out

1st Mar 2022, 7:24 AM
Sheena Pannell
9 odpowiedzi
+ 1
Attach the language and your try
1st Mar 2022, 7:42 AM
NEZ
NEZ - avatar
+ 1
What's the problem?? Where the code problem description??
1st Mar 2022, 7:49 AM
NEZ
NEZ - avatar
+ 1
Sheena Pannell I believe the distance to be travelled is 7425 km. The plane flies at 550 km/hr The challenge is to find out how long it takes to fly this distance. Basic math states: distance / speed = time. Your problem is not coding related, you have not applied basic logic to the task distance = 7425 speed = 550 time = distance / speed print(time) This is a pythonic solution, but the concept can be converted to any language. Before you can write code, you must understand the concept.
1st Mar 2022, 7:58 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Python print((7425 + 550) * 13.5
1st Mar 2022, 7:46 AM
Sheena Pannell
0
It keeps saying its wrong either im typing it wrong or the answer is
1st Mar 2022, 7:50 AM
Sheena Pannell
0
Is it of the Python For Beginners Flight code problem?? // 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. // Is this the problem??
1st Mar 2022, 7:52 AM
NEZ
NEZ - avatar
0
Yes
1st Mar 2022, 7:53 AM
Sheena Pannell
0
ok here's a hint: Speed = distance/time
1st Mar 2022, 7:53 AM
NEZ
NEZ - avatar
0
Ok thanks
1st Mar 2022, 7:54 AM
Sheena Pannell