Пользователь № 4 аудитории Ж-111 1 неделю назад
Родитель 4f9d91440e
Сommit e047de5b42

@ -39,44 +39,57 @@
```py ```py
>>> help(print) >>> help(print)
'Help on built-in function print in module builtins:' 'Help on built-in function print in module builtins:
'print(*args, sep=' ', end='\n', file=None, flush=False)' print(*args, sep=' ', end='\n', file=None, flush=False)
' Prints the values to a stream, or to sys.stdout by default.' Prints the values to a stream, or to sys.stdout by default.
' sep' sep
' string inserted between values, default a space.' string inserted between values, default a space.
' end' end
' string appended after the last value, default a newline.' string appended after the last value, default a newline.
' file' file
' a file-like object (stream); defaults to the current sys.stdout.' a file-like object (stream); defaults to the current sys.stdout.
' flush' flush
' whether to forcibly flush the stream.' whether to forcibly flush the stream.
>>> help(print) >>> help(print)
'Help on built-in function print in module builtins:' Help on built-in function print in module builtins:
'print(*args, sep=' ', end='\n', file=None, flush=False)' print(*args, sep=' ', end='\n', file=None, flush=False)
' Prints the values to a stream, or to sys.stdout by default.' Prints the values to a stream, or to sys.stdout by default.
' sep' sep
' string inserted between values, default a space.' string inserted between values, default a space.
' end' end
' string appended after the last value, default a newline.' string appended after the last value, default a newline.
' file' file
' a file-like object (stream); defaults to the current sys.stdout.' a file-like object (stream); defaults to the current sys.stdout.
' flush' flush'
' whether to forcibly flush the stream.' whether to forcibly flush the stream.
'Help on built-in function input in module builtins:' Help on built-in function input in module builtins:
'input(prompt='', /)' input(prompt='', /)
' Read a string from standard input. The trailing newline is stripped.' Read a string from standard input. The trailing newline is stripped.
' The prompt string, if given, is printed to standard output without a' The prompt string, if given, is printed to standard output without a
' trailing newline before reading input.' trailing newline before reading input.
' If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError.' If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError.
' On *nix systems, readline is used if available.' On *nix systems, readline is used if available.
'(None, None)' (None, None)
``` ```
## 1.6 Выполнение пункта 15
```py
==================== RESTART: C:\Users\u111-04\Desktop\python-labs\TEMA1\prb1.py ===================
Как Вас зовут? Maxim
Привет, Maxim
>>> import tdemo_chaos
================ RESTART: C:\Users\u111-04\Desktop\python-labs\TEMA1\tdemo_chaos.py ================
```
![Скриншот вывода программы tdemo_chaos](figure4.png)
![Скриншот окна с примером "Часы"](figure5.png)
Загрузка…
Отмена
Сохранить