nerdexam
Python_Institute

PCAP-31-03 · Question #106

Which line can be used instead of the comment to cause the snippet to produce the following expected output? (Select two answers) Expected output: 1 2 3 Code:

The correct answer is A. c, b, a = b, a, c C. a, b, c = c, a, b. See the full explanation below for the reasoning.

Question

Which line can be used instead of the comment to cause the snippet to produce the following expected output? (Select two answers) Expected output:

1 2 3 Code:

Options

  • Ac, b, a = b, a, c
  • Bc, b, a = a, c, b
  • Ca, b, c = c, a, b
  • Da, b, c = a, b, c

How the community answered

(61 responses)
  • A
    84% (51)
  • B
    7% (4)
  • D
    10% (6)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice