def sportRandomPick(name, sport, sportDict):
    if sport in sportDict:
        ransport = random.choice(list(sportDict.keys()))
sportDict[ransport].append(name)
print((name, 'has been sorted into', ransport))
Adding element to a dictionary in python?