Skip to main content
Count up, count down to liftoff, and add up the even numbers from 1 to 100 with range(). Open Lab 11 in the IP Lab Portal

What you will practice

  • Use one, two, and three arguments
  • Count backwards with a negative step
  • Sum the even numbers in a range

Before you start

Time

15 minutes

Where

IP Lab Portal

Module

Module 5: Loops

  • In the IP Lab Portal, open Lab 11 - Countdown with range().
  • In class, this lab comes right after the Lesson 4 recap slide in Module 5 core material.