Q. Write a Python program to get unique values from a list.

 

Answer =

 



lst = eval (input("Enter a list :-"))

for i in lst:
    if lst.count(i) == 1 :
        print(i)

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post