Last active
March 21, 2024 17:24
-
-
Save preston-56/7a6fcf8822802df5dc84566992e1fa75 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| numbers = [1, 1, 2, 3] | |
| def has_repeated_numbers(): | |
| return len(set(numbers)) != len(numbers) | |
| print(has_repeated_numbers()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment