Exam4Training

The simplest possible class definition in Python can be expressed as:

The simplest possible class definition in Python can be expressed as:
A . class X:
B . class X: pass
C . class X: return
D . class X: {}

Answer: A

Explanation:

Reference: https://docs.python.org/3/tutorial/classes.html

Exit mobile version