Fix typo in has_duplicates

`flast` -> `flat`
This commit is contained in:
Isabelle Viktoria Maciohsek
2020-02-10 19:30:26 +02:00
committed by GitHub
parent 1b9d6dec29
commit 6a56601861

View File

@ -3,7 +3,7 @@ title: has_duplicates
tags: list,beginner
---
Returns `True` if there are duplicate values in a flast list, `False` otherwise.
Returns `True` if there are duplicate values in a flat list, `False` otherwise.
Use `set()` on the given list to remove duplicates, compare its length with the length of the list.