Browse Source

System

pull/10/head
Jure Šorn 5 years ago
parent
commit
23056bc432
1 changed files with 4 additions and 4 deletions
  1. 8
      README.md

8
README.md

@ -824,14 +824,14 @@ print(<el_1>, <el_2>, ..., sep=' ', end='\n', file=sys.stdout)
```
### Input Function
* **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)
```
* **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.**
#### Prints lines until EOF:
```python
while True:

Loading…
Cancel
Save