Spring Deals - hours only!Up to 70% off on all courses and bundles.-Close
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.