Skip to content

Commit 9662783

Browse files
authored
update print some_function() to print(some_function())
update print some_function() to print(some_function())
1 parent 76a2057 commit 9662783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ The `maximum` function returns the maximum of the parameters, in this case the n
175175

176176
Note that a `return` statement without a value is equivalent to `return None`. `None` is a special type in Python that represents nothingness. For example, it is used to indicate that a variable has no value if it has a value of `None`.
177177

178-
Every function implicitly contains a `return None` statement at the end unless you have written your own `return` statement. You can see this by running `print some_function()` where the function `some_function` does not use the `return` statement such as:
178+
Every function implicitly contains a `return None` statement at the end unless you have written your own `return` statement. You can see this by running `print(some_function())` where the function `some_function` does not use the `return` statement such as:
179179

180180
```python
181181
def some_function():

0 commit comments

Comments
 (0)