The following is a link to three solutions to Homework 3, Exercise 3.1 Exercise 3.1 – Additional List Practice, assigned for week 5 of the Mechanical MOOC:
http://ideone.com/pzRLZ5
In the first solution, each item that occurs in both lists occurs in the returned list the same number of times it appears in the first list.
The second solution returns a list where each item that appears in both lists appears only once in the returned list.
In the third solution, each item appears in the returned list the lesser of the number of times it appears in the two lists.

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

I'm obviously not "thinking" in Python yet. http://ideone.com/4rm65I

Looking for something else?

Not the answer you are looking for? Search for more explanations.