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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments