Defining Python Functions With Default and Optional Arguments

preview_player
Показать описание
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

Рекомендации по теме
Комментарии
Автор

Thanks for this. My professor didn't do a great job of explaining optional arguments and made it sound much more complicated.

nb
Автор

That's a great class!👏👏👏 Greetings from 🇧🇷

diegosantosmoto
Автор

Thanks for such an informative video. please keep uploading more video for beginners.

ChandraShekhar-bycd
Автор

we cant like write a function like this: doSomething, cuz i think it's more clean way to write it

GustonClips
Автор

calling a 10 min video a "course" and 3 minute blocks of video a "lesson" is really confusing. A "course" is usually a multi video playlist, where each video would be a "lesson".

sergiyshebotnov
Автор

5:29 should say a value of "quantity" is assign to it, not a value of one.

davidjasonm
welcome to shbcf.ru