Esempio n. 1
0
def roll_dice(r):

    dice = Dice()

    for i in range(1, r + 1):
        dice.roll()
        print("Loop {}: {}".format(i, dice.get_roll()))

    print("Snake eyes appeared {} times".format(dice.get_count()))