elements=[1,2,3,4,4,5,5,2,1]

unqElements=set(elements)

print(unqElements)

unqElements.add(10)

print(unqElements)

unqElements.pop()
print(unqElements)

# when using pop function it pop a random element
30747b144925fa0a37c3586a136aa885bac2b504
<mask token>

<mask token>
print(unqElements)
unqElements.add(10)
print(unqElements)
unqElements.pop()
print(unqElements)

elements = [1, 2, 3, 4, 4, 5, 5, 2, 1]
unqElements = set(elements)
print(unqElements)
unqElements.add(10)
print(unqElements)
unqElements.pop()
print(unqElements)

elements=[1,2,3,4,4,5,5,2,1]

unqElements=set(elements)

print(unqElements)

unqElements.add(10)

print(unqElements)

unqElements.pop()
print(unqElements)

# when using pop function it pop a random element