nerdexam
Python_Institute

PCAP-31-03 · Question #142

Which of the following invocations are valid? (Select two answers)

The correct answer is A. sorted ("python'') D. "python' .index (" "). See the full explanation below for the reasoning.

Question

Which of the following invocations are valid? (Select two answers)

Options

  • Asorted ("python'')
  • B"python" .sort ( )
  • Csort" ("python")
  • D"python' .index (" ")

How the community answered

(31 responses)
  • A
    71% (22)
  • B
    19% (6)
  • C
    10% (3)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice