mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-25 05:03:48 -05:00
716 B
716 B
id, title, challengeType, dashedName
| id | title | challengeType | dashedName |
|---|---|---|---|
| 6579cd5f6dd62c189e53ddbb | Step 10 | 20 | step-10 |
--description--
Now that you got the basic aspects of dictionaries, you can proceed to build the shortest path algorithm.
Delete every line of code after the declaration of the copper dictionary.
--hints--
You should delete the lines after the declaration of your dictionary.
({ test: () => assert.isFalse( /copper\s*\[.*?\]|del|print\s*\(.*?\)/ms.test(code)) })
--seed--
--seed-contents--
copper = {
'species': 'guinea pig',
'age': 2
}
--fcc-editable-region--
copper['food'] = 'hay'
copper['species'] = 'Cavia porcellus'
del copper['age']
print(copper)
--fcc-editable-region--