Skip to main content
Write functions that take any number of values with *args and optional settings with **kwargs, then break the parameter order on purpose. Open Lab 28 in the IP Lab Portal

What you will practice

  • Collect values with *args
  • Accept options with **kwargs
  • Order parameters correctly

Before you start

Time

20 minutes

Where

IP Lab Portal

Module

Module 11: Flexible arguments and scope

  • In the IP Lab Portal, open Lab 28 - Flexible statistics.
  • In class, this lab comes right after the Lesson 2 recap slide in Module 11 core material.