Programming Basics/Functions

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Functions used to store code that is used multiple times throughout a program, especially bits of code that repeat throughout a program.

Functions often take input to make them more versatile. This input is called an argument.