Python · Dictionaries, tuples and sets

Sets

Which elements turned up in any sample, and which students are in both labs, are questions about values that each count once.