With a given list of integers, write a python program to print this list after filtering out the duplicate values.
In one line take the elements of the list L with each element separated by a space.
Print the elements of the modified list in one line with each element separated by a space.
Sets in Python can only store unique elements. Therefore converting the list into a sets and then converting it back into a list does the job.