Created
January 27, 2021 09:21
-
-
Save Turux/e8a248a7431aca7e2cd38d83b7c92628 to your computer and use it in GitHub Desktop.
A Python function that returns a list of unique elements in a list
This file contains 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
def unique(input_list): | |
result=list(set(input_list)) | |
return result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment