WEB 1.1 - Module 1: Lesson 7

Learning Outcomes 💫

By the end of this lesson, you should be able to...

Why this is important

In the next module, you will be using keyword arguments to pass in data to a template. So, it's good to get a refresher on how to use them.

Videos 🎥

Vid 1 - Named Parameters

Vid 1 - Named Parameters

Vid 2 - *args

Vid 2 - *args

Vid 3 - **kwargs (keyword arguments)

Vid 3 - **kwargs (keyword arguments)

Exercises 💪

Complete these repl.it challenges and submit your work.

Written Companion 🗒

<aside> 🤔 What happens if we don't know the number of arguments a function will need - that is, our function needs to accept any number of arguments, and in any order?

</aside>


Using Named Parameters