| iNTERFACEWARE Products Manual > Learning Center > Learning Python > Functions and Global Variables | 
|   | Looking for Iguana v.5 or v.6?   Learn More or see the Help Center. 
 If your program performs a task more than once, you can define this task as a separate chunk of code. This chunk of code is known as a function. Here is a simple example of a function and how to use it: 
 The following sections provide more details on how to define and use functions, and how to use global variables inside functions: |