Created
April 1, 2019 11:31
-
-
Save MaxMonteil/4025dafe453fc2dbdfe39ed841b21013 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
def uniteUnique(*lss): | |
values = [] | |
for element in lss: | |
values.extend(element) | |
unique = [] | |
for value in values: | |
if value not in unique: | |
unique.append(value) | |
return unique |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment