Question: Exercise 6 . 4 . 3 Remove Duplicates = = = = = = = = = = = = = = = = =
Exercise Remove Duplicates
Write a python function what will remove all the duplicated elements from the list. The function will take the
list of strings as its parameter and return the list containing unique elements.
For Example,
removeduplicate must return
removeduplicateapple 'banana', 'orange', 'apple', 'mango', 'banana' must return
apple 'banana', 'orange', 'mango'
removeduplicateApple 'baNana', 'orange', 'apple', 'mango', 'banana' must return
apple 'banana', 'orange', 'mango'
Pay attention to the order of items in the returned list. The presence of a letter in the list in any case does not
change the item. For example, Banana & baNana are the same.
#DON'T REMOVE!!
list
listapple 'banana', 'orange', 'apple', 'mango', 'banana'
listApple 'baNana', 'orange', 'apple', 'mango', 'banana'
# Complete the following function
def removeduplicatealist:
return
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
