Answers for "tuple python duplicate"

1

remove duplicates from tuple python

my_tuple = (1, 2, 2, 5, 1, 3, 5, 3)
my_tupele = tuple(set(my_tuple))
print(my_tupele)
Posted by: Guest on July-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language