0

# How do i calculate the Time it takes to travel (python)

I want to know how i calculate the travel time if i, for example, drive 40 Kilometer per hour and the travel distance is 130 kilometer (sorry for my very bad english, i hope you understand what i mean because english is not my first language)

26th Feb 2021, 7:03 PM
Betonmischer
+ 2
Thank you all, this is a great Community. The Problem is solved now
26th Feb 2021, 7:12 PM
Betonmischer
+ 1
Time = distance/speed
26th Feb 2021, 7:05 PM
Jayakrishna ðŸ‡®ðŸ‡³
+ 1
You're Welcome..
26th Feb 2021, 7:06 PM
Jayakrishna ðŸ‡®ðŸ‡³
+ 1
example: dist=130 speed=40 time=dist/speed
26th Feb 2021, 7:10 PM
Wilbur Jaywright
+ 1
speed = distance / time(for it) => time = distance / speed time_x = 120 [km] / 40 [km/h] = 3 [h] (hour)
26th Feb 2021, 7:11 PM
JaScript
0
Thank you!
26th Feb 2021, 7:06 PM
Betonmischer
0
I have auto translated for your convenience. I hope it helps: Das ist sehr grundlegende Mathematik. Python-Matheoperatoren sind sehr einfach. Sie kÃ¶nnen das Problem so ziemlich wie in einem Rechner eingeben, auÃŸer... nun, ein SchrÃ¤gstrich ist Teilung, und ein Sternchen ist Multiplikation. Ein doppeltes Sternchen ist fÃ¼r Exponenten.
26th Feb 2021, 7:08 PM
Wilbur Jaywright