Python_Institute
PCAP-31-03 · Question #86
The simplest possible class definition in Python can be expressed as:
The correct answer is B. class X: pass. See the full explanation below for the reasoning.
Question
The simplest possible class definition in Python can be expressed as:
Options
- Aclass X:
- Bclass X: pass
- Cclass X: return
- Dclass X: {}
How the community answered
(30 responses)- A3% (1)
- B73% (22)
- C10% (3)
- D13% (4)
Community Discussion
No community discussion yet for this question.