Python exercise

Getting Started with Time2Code on Dodona

Sign in to hand in your solution and get feedback.

import random def flip_coin(): # generate outcome of flipping an unbiased coin return random.choice(['heads', 'tails'])