set comprehension in Python

It is very similar to list comprehention. Example:

friends = ["Rolf", "ruth", "charlie", "Jen"]
guests = ["jose", "Bob", "Rolf", "Charlie", "michael"]

friends_lower = {friend.lower() for friend in friends}
guests_lower = {guest.lower() for guest in guests}

present_friends = {name.title() for name in friends_lower.intersection(guests_lower)}

print(present_friends)
Output:
{'Charlie', 'Rolf'}