import random class Dice: def roll(): return random.randrange(1,7)