Closed rfpotrero closed 2 years ago
def dice_roll(number_of_dices): """ Generic functions to resolve any other roll dices """ results =[] for dice in range(number_of_dices): roll = random.randint(1,6) results.append(roll) dice_result = sum[results] return dice_result
def dice_roll(number_of_dices): """ Generic functions to resolve any other roll dices """ results =[] for dice in range(number_of_dices): roll = random.randint(1,6) results.append(roll) dice_result = sum[results] return dice_result