- 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,
19 odpowiedzi
+ 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 .
+ 3
Thank you for your support
I am new in solo learn
+ 3
How to use the Sololearn searchbar
https://code.sololearn.com/W995A7y40Dow/?ref=app
+ 2
You're welcome 🤗
And welcome to this platform.
+ 1
#your code goes here
distance = 7425;
speed = 550;
time = distance / speed;
print(time)
+ 1
Also I tried simplified:
Answer= 7425/500
print(answer)
But nothing works.
0
I tried all kinds and always send me that is not correct. Even when I try it first in Pydroid 3.
0
Bryan Buenaver please, show your code here. Thx!
0
read the task again. what is your speed?
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.
0
it's really easy. read the task again. what is your airspeed?
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.
0
Can you copy/paste your text from flight trip task progect?
0
distance = 7425.0
hour = 1.0
speed = 500*hour
time = distance / speed
print(float(time))
0
No, I mean your text task in Spanish
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.
0
¿a qué velocidad promedio vuela un avión?
0
#your code goes here
distance = 7425;
speed = 550;
time = distance / speed;
print(time)
- 1
distance = 7425
speed = 500
time = distance / speed
print(float(time))