From 380b609ca5dc5987f9edc19094f801e8347334a7 Mon Sep 17 00:00:00 2001 From: 6reg <43252229+6reg@users.noreply.github.com> Date: Fri, 7 May 2021 07:17:07 -0400 Subject: [PATCH] Update grammar --- en/functions/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +