You need to calculate the flight time of an upcoming trip. You are flying from LA to Sydney, covering a distance of 7425 miles, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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,

13th Apr 2021, 8:20 AM
Sam 0000
Sam 0000 - avatar
19 Answers
+ 1
Sam 0000 Pls post your attempt if you want help in Q&A. If you want codes to refer you can find it in the Code section .Also,Kindly use the search bar before posting Questions .
13th Apr 2021, 8:28 AM
Kǟrɨsɦmǟ ❥
Kǟrɨsɦmǟ ❥ - avatar
+ 3
Thank you for your support I am new in solo learn
13th Apr 2021, 8:31 AM
Sam 0000
Sam 0000 - avatar
+ 3
How to use the Sololearn searchbar https://code.sololearn.com/W995A7y40Dow/?ref=app
13th Apr 2021, 8:44 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
You're welcome 🤗 And welcome to this platform.
13th Apr 2021, 8:33 AM
Kǟrɨsɦmǟ ❥
Kǟrɨsɦmǟ ❥ - avatar
+ 1
#your code goes here distance = 7425; speed = 550; time = distance / speed; print(time)
25th Apr 2021, 9:51 AM
Jackson Kairani Maina
Jackson Kairani Maina - avatar
+ 1
Also I tried simplified: Answer= 7425/500 print(answer) But nothing works.
8th Jun 2021, 5:36 PM
Bryan Buenaver
Bryan Buenaver - avatar
0
I tried all kinds and always send me that is not correct. Even when I try it first in Pydroid 3.
8th Jun 2021, 5:09 PM
Bryan Buenaver
Bryan Buenaver - avatar
0
Bryan Buenaver please, show your code here. Thx!
8th Jun 2021, 5:31 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
read the task again. what is your speed?
8th Jun 2021, 5:38 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
500 per hour so would be 500*1, insn\'t it? If not I don't get it really, looks easy until you try it and try it.
8th Jun 2021, 5:40 PM
Bryan Buenaver
Bryan Buenaver - avatar
0
it's really easy. read the task again. what is your airspeed?
8th Jun 2021, 5:41 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Sorry but nothing, it says for incoming trip so if 1 hour is 500 miles so so 7435 miles are (X) so (7435 / 500)*1. That's how I understand it.
8th Jun 2021, 5:54 PM
Bryan Buenaver
Bryan Buenaver - avatar
0
Can you copy/paste your text from flight trip task progect?
8th Jun 2021, 5:57 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
distance = 7425.0 hour = 1.0 speed = 500*hour time = distance / speed print(float(time))
8th Jun 2021, 6:09 PM
Bryan Buenaver
Bryan Buenaver - avatar
0
No, I mean your text task in Spanish
8th Jun 2021, 6:17 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Debe calcular el tiempo de vuelo de un próximo viaje. Vuela de Los Ángeles a Sydney, cubriendo una distancia de 7425 millas, el avión vuela a una velocidad promedio de 550 millas por hora. Calcule y genere el tiempo total de vuelo en horas. Insinuación El resultado debería ser un float.
8th Jun 2021, 6:50 PM
Bryan Buenaver
Bryan Buenaver - avatar
0
¿a qué velocidad promedio vuela un avión?
8th Jun 2021, 7:44 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
#your code goes here distance = 7425; speed = 550; time = distance / speed; print(time)
9th Jul 2021, 4:49 AM
Dhaval Kanjariya
Dhaval Kanjariya - avatar
- 1
distance = 7425 speed = 500 time = distance / speed print(float(time))
8th Jun 2021, 5:33 PM
Bryan Buenaver
Bryan Buenaver - avatar