/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
a = [3, 3, 5, 7, 7, 5, 4, 2] a = list(set(a)) # [2, 3, 4, 5, 7]