Functions in Python: Gaining a Deeper Understanding of Python Functions
Python
| Intermediate
- 13 videos | 1h 25m 56s
- Includes Assessment
- Earns a Badge
This 13-video course offers learners an in-depth exploration of Python functions, by focusing on nuances such as argument passing by value and reference, and local and global variables. In this course, you will examine how functions are first-class citizens in Python, as with other data types. You will examine how Python allows functions to be stored in variables, passed into other functions as arguments, and returned from functions as return values. Next, you will learn how to identify and apply differences between parsing arguments by value and reference. Examine how Python treats functions on par with other data types, a key attribute of a program seeking to support the functional programming paradigm; and learn how to work with use and throw functions by using lam das. This course then covers how lightweight functions for one-off use called lambda functions or anonymous functions play an important role in keeping Python code both succinct and readable. Finally, you will learn how to appropriately choose between local and global variables for use in your program.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseSpecify global and local variables in pythonRecall what it means to pass arguments by valueRecall what it means to pass arguments by referenceWork with the math and os modules in pythonWork with the random and datetime modules in pythonPass functions as input arguments to other functions
-
Work with functions that accept any number of argumentsReturn functions from other functionsDefine and invoke lambda functionsDefine, invoke, and discard lambdasUse lamdas as an input to the built-in filter() functionDescribe global and local variable characteristics, argument passing techniques, first-class functions, and lambdas
IN THIS COURSE
-
2m 6s
-
9m 10sUpon completion of this video, you will be able to specify global and local variables in Python. FREE ACCESS
-
8m 13sAfter completing this video, you will be able to recall what it means to pass arguments by value. FREE ACCESS
-
9m 45sUpon completion of this video, you will be able to recall what it means to pass arguments by reference. FREE ACCESS
-
8m 34sDuring this video, you will learn how to work with the math and os modules in Python. FREE ACCESS
-
3m 21sLearn how to work with the random and datetime modules in Python. FREE ACCESS
-
7m 18sIn this video, you will learn how to pass functions as input arguments to other functions. FREE ACCESS
-
6m 27sIn this video, find out how to work with functions that accept any number of arguments. FREE ACCESS
-
5m 10sDuring this video, you will learn how to return functions from other functions. FREE ACCESS
-
7m 24sIn this video, you will learn how to define and invoke lambda functions. FREE ACCESS
-
8m 56sLearn how to define, invoke, and discard lambdas. FREE ACCESS
-
3m 50sIn this video, you will learn how to use lambdas as an input to the built-in filter() function. FREE ACCESS
-
5m 41sUpon completion of this video, you will be able to describe global and local variable characteristics, argument passing techniques, first-class functions, and lambdas. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.