0
Python for beginners
Python floats 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. I entered the code Print=(7425/550) and this was incorrect. What am I missing?
6 Respostas
- 1
Dan by using "?" I was just saying if that's the answer you are were looking for.
And Print is just a variable and you were trying to assign it a value .
To actual print the value you should use print function as i answered above.
0
print(7425/550) ?
0
thanks that was the correct answer. also i am new why do i not put a =?
0
thank you for the help
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.
Hint
The result should be a float.
0
Gave answer