diff --git a/en/functions/index.html b/en/functions/index.html index fb63abb..4f656c4 100644 --- a/en/functions/index.html +++ b/en/functions/index.html @@ -197,7 +197,7 @@

Python Functions

Anatomy of a Function

-

To understand how to defined functions which can take in data and can return data, let's disect a simple example of the definition of an average function. Average takes in two pieces of data and returns the mathematical average.

+

To understand how to define functions which can take in data and can return data, let's disect a simple example of the definition of an average function. Average takes in two pieces of data and returns the mathematical average.

Definition: The definition of average specifies that it needs to pieces of information by writing two variable names, separated by a comma , between the parenthesis in the definition line. In the body of the average function it can assume that the function call provided two pieces of information inside the function body average can refer to the first piece of information as variable a and the second as variable b. The definition of average specifies that it gives information back to ther caller via the line that starts with return.

@@ -849,4 +849,4 @@

Runnable lucky_sum - Autograde Table

}); - \ No newline at end of file +