nerdexam
Python_Institute

PCAP-31-03 · Question #143

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

The correct answer is C. 'abc' .upper () < 'abc' D. '1' + '2' * 2 !=2 '12'. See the full explanation below for the reasoning.

Question

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

Options

  • A11 == '011'
  • B3 * 'a' < 'a' * 2
  • C'abc' .upper () < 'abc'
  • D'1' + '2' * 2 !=2 '12'

How the community answered

(39 responses)
  • A
    15% (6)
  • B
    8% (3)
  • C
    77% (30)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice