Skip to main content

Month 3 of 12

Input, Output and Operators

Taking input from users, converting data types and doing calculations. This is Month 3 of the 12-month Brolly Python course for kids aged 9 to 15, and it ends with a test and the project “Simple Calculator”.

  • 4 weeks
  • 8 live classes
  • a test and a project
Month 3
12 + 30789456123÷×+=input()42+×−÷

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

    Talking to the User

    1. Class 1 of 8 · No. 17The input() Function
      • Ask the user a question with input()
      • Store the answer in a variable and use it
      • Know that input() always gives back text (a string)
    2. Class 2 of 8 · No. 18print() Function Revision
      • Print several values in one print() with commas
      • Change what goes between values with sep and at the end with end
      • Mix input() answers and fixed text in neat output
  2. Week 2

    Type Casting

    1. Class 3 of 8 · No. 19Introduction to Type Casting with int() and float()
      • Explain why "5" + "3" gives 53, not 8
      • Turn text into a whole number with int() and a decimal with float()
      • Do maths with numbers the user types
    2. Class 4 of 8 · No. 20The str() Function and Combining Input with Type Casting
      • Turn a number into text with str()
      • Join numbers into sentences with + after using str()
      • Combine input(), int()/float() and str() in one program
  3. Week 3

    Arithmetic and Assignment Operators

    1. Class 5 of 8 · No. 21Arithmetic Operators
      • Use + - * / // % and ** in Python
      • Know the difference between / and //
      • Use brackets to choose what is worked out first
    2. Class 6 of 8 · No. 22Assignment Operators and Mathematical Calculations
      • Update a variable with += -= *= /= and //=
      • Write formulas from maths and everyday life in Python
      • Round answers with round()
  4. Week 4

    Comparison and Logical Operators

    1. Class 7 of 8 · No. 23Comparison Operators
      • Compare values with == != > < >= and <=
      • Know that a comparison gives True or False
      • Tell = (store) and == (compare) apart
    2. Class 8 of 8 · No. 24Logical Operators
      • Join comparisons with and and or
      • Flip True and False with not
      • Check whether a number is between two values
  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 3 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 3 sits in the course

The course is one road of 12 months. The months before this one are filled in, Month 3 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.