Pro Python pp 59-114 | Cite as

Functions

  • J. Burton Browning
  • Marty Alchin
Chapter

Abstract

At the core of any programming language is the notion of functions, but we tend to take them for granted. Sure, there’s the obvious fact that functions allow code to be encapsulated into individual units, which can be reused rather than being duplicated all over the place. But Python takes this beyond just the notion of code, with functions being full-fledged objects that can be passed around in data structures, wrapped in other functions, or replaced entirely by new implementations.

Keywords

Function Call Function Definition Argument Type Variable Argument Positional Argument 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© J. Burton Browning 2014

Authors and Affiliations

  • J. Burton Browning
    • 1
  • Marty Alchin
    • 1
  1. 1.NCUnited States

Personalised recommendations