From ab5ddf132ff998f38b5dafe8a5f66ddd4828bcce Mon Sep 17 00:00:00 2001 From: Antony ekirapa Date: Fri, 9 Nov 2018 11:59:26 +0300 Subject: [PATCH] Fixed grammar (#21939) Some sentences were not started with capital letters. Also, where fixed where a sentence should end with a full stop and start with a capital letter. --- guide/english/python/functions/index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/guide/english/python/functions/index.md b/guide/english/python/functions/index.md index 3449d18800..35ba0be380 100644 --- a/guide/english/python/functions/index.md +++ b/guide/english/python/functions/index.md @@ -16,11 +16,11 @@ One of the great advantages of using functions in your code is that it reduces t In Python, a function definition has the following features: 1. The keyword `def` -2. a function name -3. paranthesis'()', and within paranthesis input parameters,although the input parameters are optional -4. a colon ':' -5. some block of code to execute (that must be indented relative to the definition statement) -6. a return statement (optional) +2. A function name +3. Paranthesis'()', and within paranthesis input parameters,although the input parameters are optional +4. A colon ':' +5. Some block of code to execute (that must be indented relative to the definition statement) +6. A return statement (optional) ```python # a function with no parameters or returned values @@ -46,7 +46,7 @@ Functions are blocks of code that can be reused simply by calling the function. Functions in Python are created using the `def` keyword, followed by a function name and function parameters inside parentheses. -A function always returns a value,The `return` keyword is used by the function to return a value, if you don't want to return any value, the default value `None` will returned. +A function always returns a value. The `return` keyword is used by the function to return a value, if you don't want to return any value, the default value `None` will returned. The function name is used to call the function, passing the needed parameters inside parentheses.