May-16-2019, 12:07 PM
(May-16-2019, 07:37 AM)Yoriz Wrote: If you have not been introduced to dictionary's yet you could alter your player list to have lists inside of a list.Wait, I don't know if I'm misinterpreting this but just to clarify, the code first asks the main user to enter the names of the other players, which are then appended into playerList. How would I then from the different names inside the list give each name a "score" variable that all starts from 0 and eventually gain points through the total value of the rolled dices? Is player1 an index or something, this thing should be simple but I'm just getting confusedplayerList = [['player1', 5], ['player2', 8]]