Changes

Jump to: navigation, search

OPS435 Python Lab 3

66 bytes removed, 07:29, 31 May 2017
INVESTIGATION 1: USING FUNCTIONS
:Usually, a '''function''' will '''contain programming code''' in some part of the main program (most likely near the '''top''' of the program '''BEFORE''' the main program). We refer to that as '''"function declaration"'''.
: When a program is run, the '''function's code is read into internal memory''', ready to be run when the function is '''run''' (referred to as '''calling the function'''). By '''calling the function''' the function is run automatically.
:When creating programs that define and use functions, '''a large programming task can be broken-down into smaller elements''' (or '''modules'''). This is why creating programs that use functions is referred to as '''"modular programming"'''.
13,420
edits

Navigation menu