6.2: be able to write code that uses user-written and pre-existing (built- in, library) subprograms
Keyword | Definition |
---|---|
library sub program | a procedure or function that can be used by importing a module (e.g. random.randint or time.sleep) |
predefined sub program | a procedure or function that is built into the programming language (e.g. max, min, input or print) |
user defined subprogram | a procedure or function that the user has written themselves |