Write a python function get unique value from tuple


Topic: Write a python function get unique value from tuple

Solution

def unique_values(v):
    return(list(set(v)))
t=[(1,2),(3,4),(4,3),(1,2)]
unique_values(t)



List all Python Programs