Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam PCAP-31-03 Topic 5 Question 111 Discussion

Actual exam question for Python Institute's PCAP-31-03 exam
Question #: 111
Topic #: 5
The__bases__property contains:

Suggested Answer: D Vote an answer

by jdan.fp at Apr 14, 2025, 05:58 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
kvanman
2026-04-08 00:29:37
The correct answer is A. base class objects (class).
In Python, the __bases__ property of a class is a tuple containing the direct base classes (the class objects themselves) of that class.

class A:
pass

class B(A):
pass

print(B.__bases__)
# Output: (<class '__main__.A'>,)
upvoted 1 times
...
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.