Fietsen
Sign in to test your solution.
# invoer
v_ally = int(input("Snelheid Ally: "))
v_sam = int(input("Snelheid Sam: "))
afstand = int(input("Afstand: ")) # deel 1
t = 0
# berekeningen
while ... :
...
# uitvoer
print(f"Ally en Sam ontmoeten elkaar na {t} seconde(n).")
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.
Python sandbox
This window allows you to run Python code without installing a thing. The code you write here is not automatically submitted to Dodona.