$0+

Chapter 11 - Zero to Python Hero

6 ratings
I want this!

Chapter 11 - Zero to Python Hero

$0+
6 ratings

⚠️ Preview chapter about functions of the Zero to Python Hero E-Book. ⚠️


Sub-sections

Introduction to functions

What functions are and why you should use them.


Creating and calling a function

How to create and call a function, with visuals and examples.


Return statement

How to return a value from a function.


Parameters and arguments

Difference between parameters and arguments, keyword arguments, default parameters, *args and **kwargs.


Variable scope and lifetime

What the scope is, what the lifetime is, local variables and global variables.


Docstring

How to document your functions and why it's important.


Recursion

How to write recursive functions, base case and general case, visuals, examples and code walkthroughs.


Practice page

Quizzes, questions and programs to write in order to test the knowledge you've gained in this chapter.


🚀 Read this chapter in case you're serious about learning Python. If you like the teaching style, feel free to consider getting the full Zero to Python Hero E-Book, where this same structure and teaching style has been followed throughout all the 15 chapters!

$
I want this!
Pages
35
Size
26.4 MB
Copy product URL

Ratings

4.7
(6 ratings)
5 stars
83%
4 stars
0%
3 stars
17%
2 stars
0%
1 star
0%