Skip to content

Commit 036699d

Browse files
authored
Update 03-print-function.md
Added a link to official python docs for print function
1 parent 7a65c6d commit 036699d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

curriculum/01-foundations/03-print-function.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,20 @@ Everything after `#` is considered a comment.
7070

7171
```
7272

73+
<details>
74+
<summary>Read more about `print()` function</summary>
75+
76+
`print()` function has a few other arguments that you can use to further format your text on the screen.
77+
78+
Full function signiture is as follows:
79+
```python
80+
print(*objects, sep=' ', end='\n', file=None, flush=False)
81+
```
82+
83+
To learn more about this specific function and its arguments, visit the official python [docs](https://docs.python.org/3/library/functions.html#print)
84+
85+
</details>
86+
7387
---
7488

7589
## 📚 Deep Dive (Optional)

0 commit comments

Comments
 (0)