import random def coin_toss(): options = ['heads', 'tails'] result = random.choice(options) print(result) coin_toss()