📜  infytq 往年问题 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:33.805000             🧑  作者: Mango

代码示例1
class Shape (metaclass-ABCMeta) :
      def _init_(self) :
                print ( “I am in init”)
      def draw_shape(self) :
                 pass
       def set_color(self) :
                  pass
class Circle(Shape) :
       def draw_shape(self) :
                  print(“Draw Circle”)