Defining Python Functions With Default and Optional Arguments

Опубликовано: 16 September 2026
на канале: Real Python
14,499
277

Defining your own functions is an essential skill for writing clean and effective code. In this video , you’ll explore the techniques you have available for defining Python functions that take optional arguments.

This lesson is part of a larger course about optional arguments.

In the complete course, you’ll learn how to:
Distinguish between parameters and arguments
Define functions with optional arguments and default parameter values
Define functions using args and kwargs
Deal with error messages about optional arguments

Click here for more info about the complete course: https://realpython.com/courses/defini...