Activity 01
Pair Programming: List Builders
Pairs create a list of Class 11 subjects, then append new ones, remove duplicates, and slice top three. They print results and swap roles to modify partner's list. Discuss mutability observations.
Explain the concept of mutability in the context of Python lists.
Facilitation TipDuring Pair Programming: List Builders, move between pairs to listen for students naming indices aloud before typing, reinforcing zero-based counting.
What to look forPresent students with a pre-defined list, e.g., `my_list = [10, 20, 30, 40, 50]`. Ask them to write down the output for the following operations: `print(my_list[2])`, `print(my_list[1:4])`, `my_list.append(60)`, `print(my_list)`. This checks basic indexing, slicing, and appending.