Intro Python: Functions
Learn how to write functions — and how those functions work behind the scenes.
What you should know
Course Content
Course length
4 hours
Number of lessons
46
Training materials
9 PDFs + Jupyter notebooks
Coding exercises
11
About the Course
If you’re programming in Python, then you’re probably writing functions. The good news is that this is fairly straightforward; it’s not unusual to start writing functions in the first day of a Python course. But Python functions are also powerful and flexible, and that’s where things can get complex.
Underneath the basic syntax are a variety of capabilities that are easy to use, if you know where to look and how to think. This course is all about understanding Python functions, how they work under the hood, and how you can take advantage of this knowledge in your own programs.
Among other things we discuss in this course are:
- Functions as nouns, not just verbs
- treating functions as objects
- How arguments are mapped to parameters
- Working with Python’s local, global, and builtin variable scopes
- Writing functions that take optional arguments
- Dispatch tables, and how they can make your life easier
This course is based on the material that I teach on a regular basis at Fortune 500 companies around the world. It’s meant for someone who already has a good sense of Python’s fundamental data types and syntax, and who wants to write functions that are more complex than “Hello, world” and which can take advantage of Python’s many sophisticated features.
The course includes a wide variety of exercises, based on questions I’ve given to my corporate-training clients over the years. As you solve these problems, you’ll gain insights into how to write more efficient, readable, and idiomatic functions in Python.
What you’ll learn
- How to write Python functions
- How arguments are mapped to parameters
- The seven different types of Python parameters
- Dispatch tables, and how they can make your life easier
- Working with Python’s local, global, and builtin variable scopes
- Writing functions that take optional arguments
- Passing functions as arguments to other functions
Preview The Course
Instructor
All courses at LernerPython are taught by Reuven Lerner.
Pricing
100% Money Back Guarantee
I’m a one-person company dedicatedto improving your career via Python and related technologies. If you haven’t gotten value from any of my courses, then just tell me — and I’ll refund your money.
LernerPython
$40
per user / month
- Unlimited access to all Python, Git, Regexp courses
- Members-only forums
- Python office hours, private lectures
LernerPython + Data
$50
per user / month
- Everything in Lerner Python Level
- Unlimited access to NumPy, Pandas, and SQL courses
- Pandas office hours and private lectures
- Bamboo Weekly Subscription ($100 Annual Value)
LernerPython
$400
per user / year
- Unlimited access to all Python, Git, Regexp courses
- Members-only forums
- Python office hours, private lectures
LernerPython + Data
$500
per user / year
- Everything in Lerner Python Level
- Unlimited access to NumPy, Pandas, and SQL courses
- Pandas office hours and private lectures
- Bamboo Weekly Subscription ($100 Annual Value)