Hey, @Roshni,
Iterating the list is not a desirable solution. The right answer should look like this. You can go through this example:
duplicates = ['a','b','c','d','d','d','e','a','b','f','g','g','h']
uniqueItems = list(set(duplicates))
print sorted(uniqueItems)
Output
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']