Files
freeCodeCamp/curriculum/challenges/english/07-scientific-computing-with-python/python-for-everybody/dictionaries-common-applications.english.md

33 lines
524 B
Markdown
Raw Normal View History

---
id: 5e7b9f090b6c005b0e76f068
2020-04-21 23:37:02 -05:00
title: "Dictionaries: Common Applications"
challengeType: 11
isHidden: true
isRequired: true
videoId: f17xPfIXct0
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
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
```
</section>