Added text "the" (#31144)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Python Calling Functions
|
||||
---
|
||||
A function definition statement does not execute the function. Executing (calling) a function is done by using the name of the function followed by parenthesis enclosing required arguments (if any).
|
||||
A function definition statement does not execute the function. Executing (calling) a function is done by using the name of the function followed by parenthesis enclosing the required arguments (if any).
|
||||
|
||||
>>> def say_hello():
|
||||
... print('Hello')
|
||||
@ -44,4 +44,4 @@ The arguments used to call a function cannot be reassigned by the function, but
|
||||
>>> a = [1, 2, 3]
|
||||
>>> fn(a)
|
||||
>>> a
|
||||
[1, 2, 3, 1]
|
||||
[1, 2, 3, 1]
|
||||
|
Reference in New Issue
Block a user