Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Common Friends

You have two sets of friends:

python
alice_friends = {"Bob", "Charlie", "David", "Eve"}
bob_friends = {"Charlie", "Eve", "Frank", "Grace"}

Find the friends they have in common and print them sorted alphabetically, one per line.

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python