I have lists containing sequence of numbers like below:
list_1 = [4.5 ,4.5 ,4, 4 ,4, 5, 5, 5]
list_2 = [6.5 ,7 ,7 ,8 ,8]
list_3 = [14.5 ,15 ,15 , 15.5]
I want to remove duplicates from those list in a way that if list contain repetition keep only one occurrence, and preserve the order:
list_1 = [4.5 ,4, 5]
list_2 = [6.5 ,7 ,8]
list_3 = [14.5 ,15 , 15.5]