import random

def pick_opponent(players):
    # random.choice needs a list (or tuple) to pick from
    return random.choice(players)

duelists = ["Harry", "Draco", "Cedric"]
print("Today's opponent:", pick_opponent(duelists))
