Month 5 of 12
Loops and Repetition
Repeating tasks with for and while loops, and printing patterns. This is Month 5 of the 12-month Brolly Python course for kids aged 9 to 15, and it ends with a test and the project “Multiplication Table Generator”.
- 4 weeks
- 8 live classes
- a test and a project
8 classes in 4 weeks
The classes
2 live classes a week, in this order. Under each class is what it teaches.
Week 1
Repeating with Loops
- Class 1 of 8 · No. 33Introduction to Loops
- Explain what a loop is and why programs repeat things
- Spot repetition in everyday life and in code
- Run your first loop that repeats a print()
- Class 2 of 8 · No. 34The for Loop
- Write a for loop with a loop variable
- Loop over the letters of a string
- Keep a running total inside a loop
- Class 1 of 8 · No. 33Introduction to Loops
Week 2
Counting and Conditions in Loops
- Class 3 of 8 · No. 35The range() Function
- Use range(stop), range(start, stop) and range(start, stop, step)
- Know that range stops just before the stop number
- Count up, count down and skip numbers with a step
- Class 4 of 8 · No. 36The while Loop
- Repeat code while a condition stays True
- Change the variable inside the loop so the loop ends
- Choose between for and while
- Class 3 of 8 · No. 35The range() Function
Week 3
Using and Controlling Loops
- Class 5 of 8 · No. 37Multiplication Tables with Loops
- Repeat a calculation with for and range()
- Print a times table neatly
- Change the whole table with one variable
- Class 6 of 8 · No. 38The break and continue Statements
- Stop a loop early with break
- Skip one turn of a loop with continue
- Use while True with break for menus and games
- Class 5 of 8 · No. 37Multiplication Tables with Loops
Week 4
Loops inside Loops
- Class 7 of 8 · No. 39Nested Loops
- Put one loop inside another
- Know that the inner loop runs completely for each turn of the outer loop
- Print grids and tables with rows and columns
- Class 8 of 8 · No. 40Number Patterns
- Print triangle patterns where each row is longer than the last
- Use the row number to decide how much to print
- Build number patterns like 1, 12, 123
- Class 7 of 8 · No. 39Nested Loops
End of the month
Revise, take the test, build the project
Step 1
Monthly revision
Everything from the month, before the test
Step 2
Month 5 test
60 minutes · 50 marks · 6 parts
- AMultiple Choice Questions
- BFill in the Blanks
- CFind the Output
- DFind and Correct the Error
- EPractical Coding
- FLogical Thinking
Month 5 project
Multiplication Table Generator
A program that prints the multiplication table of any number
After each live class, its examples and practice for your child's age open in the Brolly Python app.
on the year road
Where Month 5 sits in the course
The course is one road of 12 months. The months before this one are filled in, Month 5 is the gold stop, and the months still ahead are dashed.
- 1Month 1Introduction to Python
- 2Month 2Variables and Data Types
- 3Month 3Input, Output and Operators
- 4Month 4Conditional Statements
- 5Month 5Loops and Repetition
- 6Month 6String Operations
- 7Month 7Lists and Tuples
- 8Month 8Sets and Dictionaries
- 9Month 9Functions
- 10Month 10Advanced Python Basics
- 11Month 11Logical Thinking and Problem Solving
- 12Month 12Project Development
- Months 1 to 4
- Months 5 to 8
- Months 9 to 12
next step
See if the course suits your child
Book a free trial class, online or at our Hyderabad centre. A teacher will answer your questions, help you choose a batch and tell you the fees.