1. Home
  2. Computing & Technology
  3. Python

Function

By Al Lukaszewski, About.com

Definition:

A grouping of re-usable code which consists of particular data structures and algorithms. A function should be used whenever the same code would be repeated two or more times.

Explore Python

More from About.com

  1. Home
  2. Computing & Technology
  3. Python
  4. Programming Glossary
  5. Function

©2008 About.com, a part of The New York Times Company.

All rights reserved.