Keyword | Definition |
---|---|
call sub program | part o the code which actually makes a sub program run |
function | type of sub program which always returns a value |
identifier | name of a subprogram that should describe what it does |
indentation | moving code across from the left of the screen |
parameter | data passed into a sub program |
procedure | type of sub program which does not return a value |
return value | data passed out of a sub program |
scope | part of a program which you can spot in python by the level of indentation |
sub program | part of a program with a name that carries out a specific task within a larger program that can be re-used to make code easier to read and work more efficiently |
sub program definition | part of the code which tells python exactly what a sub program should do |