nerdexam
Python_Institute

PCAP-31-03 · Question #133

Which of the following expressions evaluate to True? (Select two answers)

The correct answer is A. len ('' ' '') == 2 C. chr (ord('z') - 1 == 'Y'. See the full explanation below for the reasoning.

Question

Which of the following expressions evaluate to True? (Select two answers)

Options

  • Alen ('' ' '') == 2
  • Blen ( ' ' ' 12
  • Cchr (ord('z') - 1 == 'Y'
  • Dord (''0'') - ord (''9'') == 10

How the community answered

(24 responses)
  • A
    83% (20)
  • B
    4% (1)
  • D
    13% (3)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice