nerdexam
Python_Institute

PCAP-31-03 · Question #136

Assuming that the following code has been executed successfully, select the expressions which evaluate to True (Select two answers.)

The correct answer is A. a is not None B. a ! =b. See the full explanation below for the reasoning.

Question

Assuming that the following code has been executed successfully, select the expressions which evaluate to True (Select two answers.)

Exhibit

PCAP-31-03 question #136 exhibit

Options

  • Aa is not None
  • Ba ! =b
  • Cb () ==4
  • Da () == 4

How the community answered

(36 responses)
  • A
    83% (30)
  • C
    6% (2)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice