Added space (#25869)
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user