nerdexam
Python_Institute

PCAP-31-03 · Question #15

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

The correct answer is C. 'dcb' not in 'abcde' [::-1] D. 'True' not in 'False'. See the full explanation below for the reasoning.

Question

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

Options

  • Astr(1-1) in '0123456739'[:2]
  • B'phd' in 'alpha'
  • C'dcb' not in 'abcde' [::-1]
  • D'True' not in 'False'

How the community answered

(24 responses)
  • A
    8% (2)
  • B
    13% (3)
  • C
    79% (19)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice