Day 2 of diving into **Python functions** — today we'll look at:

• _positional arguments_
• _named (or keyword) arguments_

I don't have a preference on which term to use for the latter!

Here's a simple function – see attached image <code in ALT text>

—> Which of the five function calls will not work?

---

While you think about the answer, you can refresh your memory about the terms with yesterdays toot thread!

The parameters in the code above are `person` and `number`

The arguments are the strings with names and the integers used in the function calls

/1

Follow

@s_gruppetta I think the only one that will not work is #3 since after using named parameters you cannot go back to positional ones.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.