
52 Introduction to Computational Mo de ls with Python
definition are treated as local data and have local scop e. The data values used
when calling these functions are known as arguments.
Every argument in a function call must correspond to a parameter specifi-
cation in the function definition. A function that is called with two arguments
must be defined with two para meters.
Figure 3.3 illustrates the example in which one parameter is specified in
the function definition of squared. The function call requires an argument and
the function computes the square of the value in the argument; the called
function returns the value computed.
Figure 3.3 Calling ...