Matching

Report a typo

There are four main Python collections in the first column. Match them with the most suitable application.

Match the items from left and right columns
List
Tuple
Dictionary
Set
Store guests' names for a party (it is updated constantly).
Check student's attendance (it is immutable).
For each employee, store their name and age, accessed by their ID.
For a group of people, write down in what months they have their birthdays. You are not interested how many of them have a birthday in a particular month.
___

Create a free account to access the full topic