Skip to content

Commit d6d49f9

Browse files
authored
Update hints.md - Fix Typo (#4114)
Some may be confused and thing dict[] was intended.
1 parent 7ee26f8 commit d6d49f9

File tree

1 file changed

+1
-1
lines changed
  • exercises/concept/inventory-management/.docs

1 file changed

+1
-1
lines changed

exercises/concept/inventory-management/.docs/hints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
- You need a [for loop][for-loop] to iterate the list of items, then insert each item in the dictionary if missing and increment the item count using the dictionary accessor.
1111
- You can use [`dict.setdefault`][dict setdefault] to make sure the value is set before incrementing the count of the item.
12-
- This function should [return][return-keyword] a dict].
12+
- This function should [return][return-keyword] a dict.
1313

1414
## 2. Add items from a list to an existing dictionary
1515

0 commit comments

Comments
 (0)