Skip to content

Commit 97ac04f

Browse files
committed
Input function
1 parent 64f6584 commit 97ac04f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,9 @@ arguments = sys.argv[1:]
825825
```
826826

827827
### Input Function
828-
**Reads a line from user input or pipe if present. The trailing newline gets stripped.**
828+
* **Reads a line from user input or pipe if present.**
829+
* **The trailing newline gets stripped.**
830+
* **The prompt string is printed to standard output before reading input.**
829831

830832
```python
831833
<str> = input(prompt=None)

0 commit comments

Comments
 (0)