mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): fix typos in expense tracker step 4 (#53673)
Co-authored-by: Dario-DC <105294544+Dario-DC@users.noreply.github.com> Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com>
This commit is contained in:
co-authored by
Dario-DC
Ilenia
parent
12daaf7173
commit
41c3732dcb
+2
-2
@@ -13,9 +13,9 @@ A dictionary is another built-in data type in Python. A dictionary is a collecti
|
||||
{'amount': 50.0, 'category': 'Food'}
|
||||
```
|
||||
|
||||
In the example above, `amount` and `category` are keys, and `50.0` and `'Food'` are their the corresponding values.
|
||||
In the example above, `'amount'` and `'category'` are keys, and `50.0` and `'Food'` are their corresponding values.
|
||||
|
||||
Create a dictionary with a key `amount` and value of the `amount` parameter and pass your new dictionary to the `.append()` call.
|
||||
Create a dictionary with a key `'amount'` and value of the `amount` parameter and pass your new dictionary to the `.append()` call.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user