In this series, we will go over my notes for Python. And in this video, we are going to cover the def keyword and lambda functions. We will see how to define your own function, how to use parameters/arguments, what different types of parameters/arguments are available, how to use default values, how to use annotations/type hints, how to use the return statement and how to use lambda functions.
Links:
GitHub Repo: https://github.com/SebastianMantey/Python-Tutorial
Full Playlist: https://www.youtube.com/playlist?list=PLPOTBrypY74yHNvmKlf9bfYuwMlbiPk94
Timestamps:
0:00 - Intro
0:07 - The def keyword
0:59 - Using parameters/arguments
4:03 - Parameters vs arguments
4:51 - Positional/keyword arguments
7:51 - Positional-only/keyword-only arguments
14:22 - *args
21:00 - **kwargs
26:18 - Using the different types of parameters/arguments
30:13 - Default values
37:56 - Annotations/type hints
42:06 - The return statement
46:48 - Lambda functions
Download
0 formats
No download links available.
Python Tutorial for Beginners p.19: The def Keyword & Lambda Functions | NatokHD