Python for GCSE

6.1: understand the benefits of using subprograms

Keywords:
Sub programs
Test your self on these keywords and definitions using the games below or Play random game
KeywordDefinition
calltell the program to actually execute (run) the subprogram
definetells the program how to execute (run) the subprogram
functiona section of code with a name that can be re-used. It always returns a value
procedurea section of code with a name that can be re-used. It can't return a value.
returnsend data back to the part of the program which called the subprogram
subprograma section of code with a name that can be re-used (e.g. function or procedure)
Keyword games:
Resources: