nerdexam
Python_Institute

PCAP-31-03 · Question #113

Executing the following snippet will cause the dct:

The correct answer is C. to hold one key named `pi' linked to 3.1415. See the full explanation below for the reasoning.

Question

Executing the following snippet will cause the dct:

Options

  • Ato hold two keys named `pi' linked to 3.14 and 3.1415 respectively
  • Bto hold two key named `pi' linked to 3.14 and 3.1415
  • Cto hold one key named `pi' linked to 3.1415
  • Dto hold two keys named `pi' linked to 3.1415

How the community answered

(22 responses)
  • A
    9% (2)
  • C
    86% (19)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice