Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 19:18:14 +02:00
parent c95f39e4ba
commit 2a16eb9892
6 changed files with 10 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ lastUpdated: 2020-11-02T19:27:53+02:00
Creates a dictionary with the unique values of a list as keys and their frequencies as the values.
- Use `collections.defaultdict()` to store the frequencies of each unique element.
- Use `collections.defaultdict` to store the frequencies of each unique element.
- Use `dict()` to return a dictionary with the unique elements of the list as keys and their frequencies as the values.
```py