Skip to main content

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
Month 4
ifelseA gradestudy more

8 classes in 4 weeks

The classes

2 live classes a week, in this order. Under each class is what it teaches.

  1. Week 1

    Making Decisions in Code

    1. 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"
    2. 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
  2. Week 2

    Two-Way and Many-Way Decisions

    1. 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
    2. 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
  3. Week 3

    Combining Conditions

    1. 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
    2. 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
  4. Week 4

    Logic in Real Life

    1. 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
    2. 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
  5. End of the month

    Revise, take the test, build the project

    1. Step 1

      Monthly revision

      Everything from the month, before the test

    2. 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

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.

  • 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.