Jun-24-2019, 07:56 AM
Hi Dear ,
You can simply use "set" for doing the same,
You can simply use "set" for doing the same,
n = [5, 3, 6, 7, 5, 5, 6, 7, 8, 3, 6, 5, 7, 8, 3, 4, 6, ] result = set(n) result = list(result) print (result) # for python3 or for python2 go for print result