nerdexam
Python_Institute

PCAP-31-03 · Question #159

A function called issubclass (c1, c2) is able to check if:

The correct answer is C. c1 is a subclass of c2. See the full explanation below for the reasoning.

Question

A function called issubclass (c1, c2) is able to check if:

Options

  • Ac1 and c2 are both subclasses of the same superclass
  • Bc2 is a subclass of c1
  • Cc1 is a subclass of c2
  • Dc1 and c2 are not subclasses of the same superclass

How the community answered

(18 responses)
  • A
    6% (1)
  • B
    11% (2)
  • C
    78% (14)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice