So i want to do choose only the unique character of an array , the desired output is suppose to be :
Input : 4,5,6,4,2,2,9
Output : 5,6,9
I tried these code :
arr = [4,5,6,4,2,2,9]
unique = list(set(arr))
But the output is : 4,5,6,2,9
Is it possible to do it without numpy?