Question: Part 1: 20pts Write a function removeDuplicates() that gets a list as parameter, and return a new list in which the duplicate items are removed.

 Part 1: 20pts Write a function removeDuplicates() that gets a list

Part 1: 20pts Write a function removeDuplicates() that gets a list as parameter, and return a new list in which the duplicate items are removed. (While removing duplicated items in the list, print those items. +5 pts.) Write Python statements that create a list with [4, 8, 15, "aero", 4, 23, "aero", 2, 1, 19, 1, 1, 8], call removeDuplicates() function and print final list as shown in the sample run below

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!