Python Language Functions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Declaration:

def function_name(arguments):
  <function body>

Invocation:

function_name(arguments)

Example

def something(a, b):
  c = a + b
  return c