Posts by Planador • 41 points
1 post
-
4
votes1
answer41
viewsQ: Doubt about "resorteio" of equal values
I did a giveaway exercise using dictionary: from random import randint from time import sleep from operator import itemgetter jogo = {'jogador 1': randint(1,6), 'jogador 2': randint(1,6), 'jogador…