Month 4 of 12
Conditional Statements
Making decisions in programs with if, elif and else. This is Month 4 of the 12-month Brolly Python course for kids aged 9 to 15, and it ends with a test and the project “Student Grading System”.
- 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
Making Decisions in Code
- Class 1 of 8 · No. 25Introduction to Decision-Making
- Explain how programs make decisions from True or False
- Spot decisions in everyday life and turn them into conditions
- Read a simple flow of "if this, then do that"
- Class 2 of 8 · No. 26The if Statement
- Write an if statement with a condition and a colon
- Indent the lines that belong to the if
- Run code only when a condition is True
- Class 1 of 8 · No. 25Introduction to Decision-Making
Week 2
Two-Way and Many-Way Decisions
- Class 3 of 8 · No. 27The if-else Statement
- Choose between two paths with if and else
- Indent both branches correctly
- Write programs that always print one of two answers
- Class 4 of 8 · No. 28The elif Statement
- Choose between many paths with if, elif and else
- Order the conditions so the right branch runs
- Turn a table of ranges (like grades) into code
- Class 3 of 8 · No. 27The if-else Statement
Week 3
Combining Conditions
- Class 5 of 8 · No. 29Nested if Statements
- Put an if inside another if
- Indent each level by 4 more spaces
- Decide when a nested if is clearer than and
- Class 6 of 8 · No. 30Multiple Conditions and Comparison inside Conditions
- Put several comparisons in one if condition
- Use chained comparisons like 10 <= n <= 20
- Compare text and numbers safely inside conditions
- Class 5 of 8 · No. 29Nested if Statements
Week 4
Logic in Real Life
- Class 7 of 8 · No. 31Logical Conditions (and, or, not)
- Use and, or and not inside if statements
- Work out a condition's answer with a truth table
- Use Boolean variables to make conditions easy to read
- Class 8 of 8 · No. 32Real-Life Decision-Making Programs
- Plan a decision program before coding it
- Combine input, type casting and if/elif/else in one program
- Test every branch with different answers
- Class 7 of 8 · No. 31Logical Conditions (and, or, not)
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 4 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 4 project
Student Grading System
A program that takes marks as input and gives a grade
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 4 sits in the course
The course is one road of 12 months. The months before this one are filled in, Month 4 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.