Subject shorts
TRB Python
Choose a chapter or search this subject to find a lesson preview.
Open subject in the appAvailable chapters and topics
Available lessons
33 matching lessons
Free account
Free account
15 No return gives None returning many values
1:29Free account
14 The return statement
1:30Free account
13 Parameter vs argument a worked example
1:31Free account
12 args and kwargs
1:30Free account
11 Default arguments and the mutable trap
1:30Free account
10 Positional and keyword arguments
1:29Free account
09 Parameters and arguments
1:30Free account
08 Flow of control in a function call
1:33Free account
07 Function body and function call
1:30Free account
06 Function definition and the header
1:34Free account
05 Lambda anonymous functions
1:32Free account
04 User defined and library functions
1:33Free account
03 Built in functions vs user defined
1:34Free account
02 Advantages one block many calls
1:32Free account
01 What a function is and why we need one
1:29Free account
33 Revision functions terms types
1:32Free account
32 Wrong argument count and infinite recursion
1:29Free account
31 Common function syntax errors
1:27Free account
30 A simple function and the missing call
1:29Free account
29 Recursion vs iteration
1:31Free account
28 Fibonacci using recursion
1:32Free account
27 Factorial using recursion
1:29Free account
26 Recursive case and the call stack
1:30Free account
25 Recursive function and the base case
1:34Free account
24 Recursion a function that calls itself
1:31Free account
23 Step by step composition and its benefits
1:31Free account
22 Calling a function inside another nested calls
1:30Free account
21 Function composition
1:33Free account
20 Lifetime of variables and scope errors
1:29Free account
19 The global keyword and UnboundLocalError
1:30Free account
18 Global variables local and global scope
1:30Free account