Browse Source

Input function

pull/10/head
Jure Šorn 5 years ago
parent
commit
97ac04ff62
1 changed files with 3 additions and 1 deletions
  1. 4
      README.md

4
README.md

@ -825,7 +825,9 @@ arguments = sys.argv[1:]
```
### Input Function
**Reads a line from user input or pipe if present. The trailing newline gets stripped.**
* **Reads a line from user input or pipe if present.**
* **The trailing newline gets stripped.**
* **The prompt string is printed to standard output before reading input.**
```python
<str> = input(prompt=None)

Loading…
Cancel
Save