It is because I cannot pick the same players as my friend. He is the first output and I am the second output. Please help me out. Below is what I have.
import random
players = ('Giannis', 'LeBron', 'KD', 'Curry', 'Harden', 'AD', 'RW', 'Kawhi', 'Lillard', 'Kyrie', 'PG13', 'Klay', 'Jimmy', 'Dwyane', 'Blake', 'MJ', 'KarlAnthony', 'BenSim', 'JohnW', 'Melo')
c_starting5 = random.sample(players, k=5) i_starting5 = random.sample(players, k=5)
c = c_starting5 i = i_starting5
print(c) print(i)
Aucun commentaire:
Enregistrer un commentaire