Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
Drop links or images here to add them to the editor.
Schrijf een programma dat een munt opgooit:
Schrijf een functie gooiMunt() die willekeurig "KOP" of "MUNT" retourneert.
Gebruik random.randint(0, 1): bij 0 → "KOP", anders → "MUNT".
Roep gooiMunt() aan vanuit het hoofdprogramma.
Druk het resultaat af als: De munt landt op: KOP (of MUNT).