# -*- coding: utf-8 -*-
"""
Created on Wed Mar 10 14:54:30 2021

@author: Pa's
"""

from random import randint

class Die():
    """ A class repressenting a single die."""
    
    def __init__(self, num_sides=6):
        """ Assume a six sided die."""
        self.num_sides = num_sides
        
    def roll(self):
        """ Return a random value between 1 and number of sides."""
        return randint(1, self.num_sides)
    