Python Development: Defining, Configuring, & Invoking Functions

Python 3.6+
  • 13 Videos | 1h 45m 1s
  • Includes Assessment
  • Earns a Badge
In Python, functions are essentially first-class citizens. They are objects in Python, just like other primitive and complex data types, and have a valuable purpose. In this course, you'll learn how to define and invoke functions in Python. First, you'll define a function using the def keyword and specify input arguments and return values from functions. You'll then work with positional arguments and keyword arguments. Next, you'll define functions with default values for arguments and a variable number of arguments. Along the way, you'll also examine how arguments can be pass-by-value or pass-by-reference. Finally, you'll explore the characteristics of Python functions that make them first-class citizens. When you're finished with this course, you'll have a solid grasp of the foundations of support for functions in Python and be able to use Python functions in your development work.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    define and invoke functions
    pass values to functions via input arguments
    use the return keyword to return values from functions
    use the positional, keyword, and default arguments
    pass a variable number of positional arguments to a function
    pass a variable number of keyword arguments to a function
  • execute Python scripts from the command line
    use local and global arguments
    pass arguments to functions by value and reference
    illustrate the characteristics of first-class functions
    store functions in variables and lists
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 17s
    UP NEXT
  • Playable
    2. 
    Defining and Invoking Functions in Python
    9m 48s
  • Locked
    3. 
    Passing Python Values Using Input Arguments
    9m 5s
  • Locked
    4. 
    Returning Python Values Using the Return Keyword
    11m 42s
  • Locked
    5. 
    Using Positional, Keyword, and Default Arguments
    12m 21s
  • Locked
    6. 
    Working with Python's Positional Variable Arguments
    11m 46s
  • Locked
    7. 
    Working with Python's Named Variable Arguments
    9m 51s
  • Locked
    8. 
    Running Python Files
    6m 33s
  • Locked
    9. 
    Using Local and Global Arguments in Python
    6m 48s
  • Locked
    10. 
    Passing Python Arguments by Value and Reference
    7m 45s
  • Locked
    11. 
    Demonstrating First-class Function Characteristics
    8m 32s
  • Locked
    12. 
    Storing Python Functions in Variables and Lists
    5m 8s
  • Locked
    13. 
    Course Summary
    3m 25s

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.