freeCodeCamp/curriculum/challenges/english/07-scientific-computing-wit.../python-for-everybody/dictionaries-common-applica...

524 B

id title challengeType isHidden isRequired videoId
5e7b9f090b6c005b0e76f068 Dictionaries: Common Applications 11 true true f17xPfIXct0

Description

Tests

question:
  text: "What will the following code print?
<pre>counts = { 'quincy' : 1 , 'mrugesh' : 42, 'beau': 100, '0': 10}<br>
print(counts.get('kris', 0))</pre>"
  answers:
    - '1'
    - 'quincy'
    - '0'
    - '10'
    - '[will return error]'
  solution: 3