Skip to main content

Month 7 of 12

Lists and Tuples

Storing and managing collections of items. This is Month 7 of the 12-month Brolly Python course for kids aged 9 to 15, and it ends with a test and the project “Shopping List Application”.

  • 4 weeks
  • 8 live classes
  • a test and a project
Month 7
shoppingapplemilkbreadlist[0][1][2](7, 3) locked

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

    Getting Started with Lists

    1. Class 1 of 8 · No. 49Introduction to Lists and Creating Lists
      • Store many values in one list with square brackets
      • Find the number of items with len()
      • Use sum(), min(), max() and in with a list
    2. Class 2 of 8 · No. 50List Indexing and List Slicing
      • Get one item from a list with an index
      • Take part of a list with a slice
      • Change one item by assigning to its index
  2. Week 2

    Adding and Removing Items

    1. Class 3 of 8 · No. 51The append() and insert() Methods
      • Add an item to the end of a list with append()
      • Add an item at a position with insert()
      • Build a list in a loop from the user's answers
    2. Class 4 of 8 · No. 52The remove() and pop() Methods
      • Remove an item by its value with remove()
      • Remove an item by its position with pop()
      • Check that an item is there before removing it
  3. Week 3

    Organising and Using Lists

    1. Class 5 of 8 · No. 53The sort() and reverse() Methods
      • Put a list in order with sort() and sort(reverse=True)
      • Flip a list with reverse()
      • Know the difference between sort() and sorted()
    2. Class 6 of 8 · No. 54Looping through Lists
      • Visit every item of a list with a for loop
      • Use enumerate() to get the position and the item together
      • Count, total and filter items in a loop
  4. Week 4

    Tuples

    1. Class 7 of 8 · No. 55Introduction to Tuples
      • Make a tuple with round brackets
      • Know that a tuple can't be changed after it is made
      • Choose a tuple for values that belong together and stay fixed
    2. Class 8 of 8 · No. 56Tuple Operations
      • Unpack a tuple into separate variables
      • Use count(), index(), + and * with tuples
      • Return several values as a tuple and convert between lists and tuples
  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 7 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 7 sits in the course

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