Please enable JavaScript.
Coggle requires JavaScript to display documents.
Python (By reference and by value (Reference (-ALWAYS pass arrays by…
Python
-
-
variables
-
Local
A local variable exists within one subroutine, function or procedure
Procedures and functions
A procedure consists of a heading, a declaration part and an action part. They are activated by a call from the main program, they are activated by a call from the main program. When a procedure is called it produces an effect
As well as using pre-defined functions we can also write our own functions. A function is activated by a call from the main program. A function returns a single value