/ Published in: Python
Expand |
Embed | Plain Text
a = [3, 3, 5, 7, 7, 5, 4, 2] a = list(set(a)) # [2, 3, 4, 5, 7]
You need to login to post a comment.
a = [3, 3, 5, 7, 7, 5, 4, 2] a = list(set(a)) # [2, 3, 4, 5, 7]
You need to login to post a comment.