Python Programming Tutorial #17 - Optional Parameters

preview_player
Показать описание
This is the 17th video in my python programming series and in today's video I talk about how to use optional parameters. These are useful if you are constantly calling a function passing the same value and want to set a default value for a given parameter.

Please LIKE and SUBSCRIBE for more content :)
Рекомендации по теме
Комментарии
Автор

I like your videos Tim, I learn a lot of things about python with you. Thank you bro!!

joaomarcos
Автор

Thanks tim, this was so much easier than expected

amj.composer
Автор

very simple and easy to understand.
Thank you so much

noro
Автор

Can't we do func(text='3') to skip other optional parameters?

tanerdincer
Автор

Is there any way to set an optional parameter to be a reversal? as in, produce a list and print that output then produce the same list but call the optional argument to reverse the list, then print that output (both forward and reverse lists output from 1 code)

ashleys
Автор

Nice video
Watched at 2x
Meet you in next one

eswarspython
Автор

But if we have very much parameters but we only want to call 2 parameters and let the remaining parameters do nothing, even not print the default value. How to do that?

abubakarmeraj
Автор

Can you make an optional parameter, with a necessary argument after it?

origin-panda