Positional and Keyword Arguments

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

Explain the different ways to pass arguments to a Python function, including positional, keyword and default arguments, and what star args and double-star kwargs collect.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →