Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

10. Functions [Python 3 Programming Tutorials]

206.9K views on YouTube

In today’s session, we will talk about “functions” in python. The video will explain the introduction of “functions”, why “functions” are needed, encapsulate code in a function, default arguments, the difference between “local and global variables” and “document strings”.

Exercise: https://github.com/codebasics/py/blob/master/Basics/Exercise/10_functions/10_functions_exercise.md

Topics that are covered in this Video:
0:00 Functions introduction
0:54 why functions are needed
3:09 encapsulate code in function
3:24 Define function
10:22 Name argument
11:09 Global vs Local Variables
12:47 Default variable
14:14 Document strings

Do you want to learn technology from me? Check https://resources.codebasics.io/IRzkqn for my affordable video courses.

Next Video:
11. Dictionaries and Tuples [Python 3 Programming Tutorials]: https://www.youtube.com/watch?v=RCM-lVAfXFg&list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0&index=12

Website: https://resources.codebasics.io/IRzkqn
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub