Exam PCAP All QuestionsBrowse all questions from this exam
Question 119

The __bases__ property contains:

    Correct Answer: B

    The __bases__ property in Python contains a tuple of base class objects. This property is present in a class object and is used to determine the base classes from which a class inherits. Therefore, the most accurate answer is that it contains base class objects.

Discussion
angelika_azOption: B

B correct

Damon54Option: B

base class objects (class) is correct ( more accurate )

seaverickOption: C

class A: pass class B(A): pass print(B.__bases__) #output (<class '__main__.A'>,) Ans is C