Python Functions for Beginners | Python tutorial

preview_player
Показать описание

Learn Python Functions in this beginners Python tutorial. Functions provide reusable blocks of code that we can call into action again and again. We will also learn about parameters and arguments and what they mean for functions.

⭐ Become a full-stack dev with Zero To Mastery Courses:

👇 Follow Me On Social Media:

Python Functions for Beginners | Python tutorial

(00:00) Intro
(00:05) Welcome
(00:13) What are functions?
(01:35) Naming functions
(02:20) Parameters vs Arguments
(04:28) Return keyword
(05:27) Checking Argument types
(07:25) Default Parameter Values
(09:06) Reviewing the Sum Function
(10:16) Receiving an Unknown Number of args
(12:26) Receiving an Unknown Number of kwargs

📚 Tutorial References:

Was this Python Functions tutorial for beginners helpful? If so, please share. Let me know your thoughts in the comments.

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

9:40 We get Zero here not because of the return 0 but because of the default values being applied,
Instead we may pass some strings so the type check evaluate to true and return 0.
Thanks Dave

ahmad-murery
Автор

So, We have to study your tutorials on Monday and Friday.
Anyway Thanks you very much indeed.

I love you Sir.

utinthein
Автор

currently i am learning Machin learning in Python now i found you please make video abou it ❤❤🎉

rbdmusix
Автор

Why does the sum-function return num1 + num2 (if integers), although we did not use an "else:" before the "return num1 + num2"?

mbr-crunch
Автор

I guess, if Data structure and algorithm in Java script is added on YouTube, it could be beneficial for viewers...

riteshgaihre
Автор

Hi Dave. Today Friday, we are expecting next js . But today 🐍 😐

kathirmldata