mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-12 01:00:13 -04:00
941 B
941 B
id, title, challengeType, dashedName
| id | title | challengeType | dashedName |
|---|---|---|---|
| 65789506b30453080f77470c | الخطوة 1 | 20 | step-1 |
--description--
So far, you have already met different data types:
- Immutable data types, such as integers, strings, tuples, and Booleans.
- Mutable data types, such as lists, and dictionaries.
A dictionary is identified by a pair of curly braces, {}.
Start by creating a variable called copper and assign it an empty dictionary using a pair of curly braces, in the same way you would create an empty list with a pair of square brackets.
--hints--
You should have a variable called copper.
({ test: () => assert(__userGlobals.has("copper")) })
Your copper variable should have the value of an empty dictionary. Use a pair of curly braces for that.
({ test: () => assert(runPython(`
copper == {}
`))
})
--seed--
--seed-contents--
--fcc-editable-region--
--fcc-editable-region--