#HOMEWORK12: add import statement for Die class

from src.homework.homework11.die import Die
'''
Define a Die6 class that inherits from the Die class.
Create a constructor with only one parameter self.
In the constructor, call the Die class constructor(__init__ method) and pass it parameter arguments self and 6.
Define a class method named roll.
In the method:
 a)display 'Rolled 6 sided die' (MAKE SURE TO USE THE SIDES CLASS ATTRIBUTE; DON'T USE THE NUMBER 6).
 b)call and return the Die class roll method(This will return the roll value).

'''
class Die6(Die):

    def __init__(self):
        Die.__init__(self, 6)

    def roll (self):
        print('Rolled', self.sides, 'sided die')
        return Die.roll(self)
              
