下列哪个选项是定义Python类的正确语法?( )
选项:
A:class MyClass:
B:(class MyClass:
C:class MyClass():
D:class MyClass: pass
发布时间:2024-06-04 13:52:59