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.