Activity 01
Pair Programming: Name Processor
Provide pairs with a list of student names. They write a for loop to print personalised greetings, then modify it to count vowels in each name. Pairs test and swap code for peer review.
Design a 'for' loop to process each item in a list of names.
Facilitation TipDuring Pair Programming: Name Processor, assign roles so one student writes the loop while the other tracks iterations on paper to verify the loop ends correctly.
What to look forProvide students with a Python list of fruits, e.g., `fruits = ['apple', 'banana', 'cherry']`. Ask them to write a 'for' loop that prints 'I like [fruit name]' for each item in the list. Collect and check for correct syntax and iteration.