Python for GCSE

6.3: understand the concept of passing data into and out of subprograms (procedures, functions)

Keywords:
Sub programs
Test your self on these keywords and definitions using the games below or Play random game
KeywordDefinition
callmake a procedure or function actually run
functiontype of subprogram which is a section of code with a name that can be re-used. Always returns a value
parametera value that is passed to a subprogram by the part of the code which calls the procedure or function
proceduretype of subprogram which is a section of code with a name that can be re-used. Doesn't return a value.
returngo back from a procedure or function to the part of the program that called it
return valuedata that is passed back from a procedure or function to the part of the program that called it
Keyword games:
Resources: