A_friends = {"IU", "V", "JK"}
B_friends = {"V", "JK", "Jimin"}

common = A_friends & B_friends
recommend = A_friends - B_friends

print("공통 친구:", common)
print("추천 후보:", recommend)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: