nerdexam
Python_Institute

PCAP-31-03 · Question #73

You need data which can act as a simple telephone directory. You can obtain it with the following clauses (choose two relevant variants; assume that no other items have been created before)

Sign in or unlock PCAP-31-03 to reveal the answer and full explanation for question #73. The question stem and answer options stay visible for context.

Technology and architecture

Question

You need data which can act as a simple telephone directory. You can obtain it with the following clauses (choose two relevant variants; assume that no other items have been created before)

Options

  • Adir={'Mom':5551234567, 'Dad':5557654321>
  • Bdir={'Mom':'5551234567', * Dad':'5557654321'}
  • Cdir={Mom:5551234567, Dad:5557654321}
  • Ddir={Mom:'5551234567', Dad:'5557654321'}

Unlock PCAP-31-03 to see the answer

You've previewed enough free PCAP-31-03 questions. Unlock PCAP-31-03 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Python dictionaries#dict syntax#data structures#key-value pairs
Full PCAP-31-03 Practice