Functions in Python: Gaining a Deeper Understanding of Python Functions

Python 3.0+    |    Intermediate
  • 13 Videos | 1h 31m 26s
  • Includes Assessment
  • Earns a Badge
Likes 297 Likes 297
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 course
    specify global and local variables in Python
    recall what it means to pass arguments by value
    recall what it means to pass arguments by reference
    work with the math and os modules in Python
    work with the random and datetime modules in Python
    pass functions as input arguments to other functions
  • work with functions that accept any number of arguments
    return functions from other functions
    define and invoke lambda functions
    define, invoke, and discard lambdas
    use lamdas as an input to the built-in filter() function
    describe global and local variable characteristics, argument passing techniques, first-class functions, and lambdas

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 6s
    UP NEXT
  • Playable
    2. 
    Global and Local Variables
    9m 10s
  • Locked
    3. 
    Argument Passing by Value
    8m 13s
  • Locked
    4. 
    Argument Passing by Reference
    9m 45s
  • Locked
    5. 
    Math and OS Modules
    8m 34s
  • Locked
    6. 
    Random and Datetime Modules
    3m 21s
  • Locked
    7. 
    Functions as Arguments - Input Arguments
    7m 18s
  • Locked
    8. 
    Functions as Arguments - Variable Arguments
    6m 27s
  • Locked
    9. 
    Functions as Return Values
    5m 10s
  • Locked
    10. 
    Lambdas - Define and Invoke
    7m 24s
  • Locked
    11. 
    Lambdas - Define, Invoke, and Discard
    8m 56s
  • Locked
    12. 
    Lambdas - Filter() Function
    3m 50s
  • Locked
    13. 
    Exercise: Definining Python Functions
    5m 41s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE