Added space (#25869)

This commit is contained in:
Nikita
2018-11-01 07:35:21 +03:00
committed by Aman Mittal
parent 0a7e3c048c
commit 32b54e8706

View File

@ -126,6 +126,6 @@ result = s(1, 2)
print(x) # error - x is not defined
print(double(4)) # prints 8
```
- Python interprets the function block only when the function is called and not when the function is defined.So even if the function definition block contains some sort of error,the python interpretar will point that out only when the function is called.
- Python interprets the function block only when the function is called and not when the function is defined. So even if the function definition block contains some sort of error,the python interpretar will point that out only when the function is called.
### More Information:
- <a href='https://docs.python.org/3/tutorial/controlflow.html#defining-functions' target='_blank' rel='nofollow'>Python 3 Docs: Defining Functions</a>