コード例 #1
0
ファイル: cuadrado.py プロジェクト: RAFASANT29/repositorio2
 def __str__ (self):
     return FiguraGeometrica.__str__(self) + Color.__str__(self)
コード例 #2
0
    def color(self):

        return Color.__str__(self)
コード例 #3
0
ファイル: cuadrado.py プロジェクト: ArobyR/python-course
 def __str__(self):
     return FiguraGeometrica.__str__(self) + Color.__str__(self) + ' El area es: ' + str(self.area())
コード例 #4
0
 def __str__(self):
     return FiguraGeometrica.__str__(self) + ", " + Color.__str__(
         self) + ", " + str(self.area())