Psst! Check what courses we have in our offer, and get them all here to save $727. Tick-tock—this deal ends on 3/21.
Introduction
Quiz
7. Question 6
Summary

Instruction

Very well done! Question 6 now.

Exercise

Write a function named get_common_interests(set1, set2) that accepts two sets with the interests of two different people stored as string values. Your task is to return a new set with those interests common to both people. You can use the sets provided as the template code to check if your function works correctly.

Stuck? Here's a hint!

Use the intersection() method.