I AM GETTING ERROR WHILE RUNNING CUP() , CAN YOU LET ME KNOW ABOUT…

Question Answered step-by-step I AM GETTING ERROR WHILE RUNNING CUP() , CAN YOU LET ME KNOW ABOUT… I AM GETTING ERROR WHILE RUNNING CUP() , CAN YOU LET ME KNOW ABOUT THIS class Cup:   ”’a cup which have several dices”’   def __init_(self, sixDieCount = 1, tenDieCount = 1, twentyDieCount = 1):       ”’creating a cup”’       #creating lists for six/ten/twenty sided dice       self.sixList = []       self.tenlist = []       self.twentyList = []       for i in range(sixDieCount):           self.sixList.append(sixsizedie())           for i in range(tenDieCount):               self.tenList.append(Tensizedie())               for i in range(twentyDieCount):                   self .twentyList.append(Twentysizedie())                  def roll(self):       ”’roll the dice and sum up their face value”’       self.r = 0       for i in self.sixList:           self.r += i.roll()       for i in self.tenList:           self.r += i.roll()       for i in self.twentyList:           self.r += i.roll()       return self.r      def getSum(self):       ”’give the sum”’       return self.r   def __repr__(self):       ”’return formal representation”’       sixDisStr = “,”.join([str(x) for x in self.sixList])       tenDisStr = “.”.join([str(x) for x in self.tenList])       twentyDisStr = “,”.join([str(x) for x in self.twentyList])       return “Cup({},{}, {})”.format(sixDisStr, tenDisStr, twentyDisStr) # d = sixsizedie()#d.roll()#d.getFaceValue()#d#cup = Cup(1,2,1)#cup.roll()#cup.getSum()#cup Computer Science Engineering & Technology Python Programming DSC 430 Share QuestionEmailCopy link Comments (0)