sub routine, a reusable set of instructions used to save time and reduce errors, function, reusable block of code that takes input, performs a task and returns an output, def, means define, variable, stores data in a program, function name, should be related to what the function does e.g. square, procedure, simply carries out an action, camel case, the first word starts with a lowercase letter and each subsequent word starts with a capital letter e.g. moveForward(), snake case, all the words are lowercase and separated by underscores e.g. move_forward()

Lessons 14-15 Functions

Leaderboard

Visual style

Options

Switch template

Continue editing: ?