Exoplaneten
Sign in to test your solution.
n = int(input("Aantal metingen: "))
# Nuttige variabelen (in tip)
drempel = 99.5
vereist = 3
totaal = 0.0
huidige_reeks = 0
langste_reeks = 0
# vraag n metingen op en doe de berekeningen
# Uitvoer
print(f"gemiddelde (%) | {gemiddelde:.2f}")
print(f"langste reeks | {langste_reeks}")
print(f"transit | {transit}")
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.