Question:

With a given list [5,3,5,3,6,8,3,1,9,4,5,9,0,7], write a program to print this list after removing all duplicate values with original order reserved.

Program:

Explanation:

Set() function stores number of values without duplicate.

Output:

 

Leave a Reply