Отчёт
Этот коммит содержится в:
@@ -68,44 +68,45 @@ Your name=й Nz&C:\Users\danii\Desktop\Filippov\Tema1\)ЪprintЪinputЪh
|
|||||||
|
|
||||||
# 16. Ввод инструкции обращения к оперативной помощи по функции print() - вывод значений указываемого объекта на заданное устройство.
|
# 16. Ввод инструкции обращения к оперативной помощи по функции print() - вывод значений указываемого объекта на заданное устройство.
|
||||||
>>>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(...)
|
||||||
|
print(value, ..., sep=' ', end='\n', file=sys.stdout, 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.
|
||||||
|
Optional keyword arguments:
|
||||||
|
file: a file-like object (stream); defaults to the current sys.stdout.
|
||||||
|
sep: string inserted between values, default a space.
|
||||||
|
end: string appended after the last value, default a newline.
|
||||||
|
flush: whether to forcibly flush the stream.
|
||||||
|
|
||||||
sep
|
|
||||||
string inserted between values, default a space.
|
|
||||||
end
|
|
||||||
string appended after the last value, default a newline.
|
|
||||||
file
|
|
||||||
a file-like object (stream); defaults to the current sys.stdout.
|
|
||||||
flush
|
|
||||||
whether to forcibly flush the stream.
|
|
||||||
|
|
||||||
# 17. Убедился в том, что можно в одной строке ввести несколько инструкций, разделяя их запятыми
|
# 17. Убедился в том, что можно в одной строке ввести несколько инструкций, разделяя их запятыми
|
||||||
|
|
||||||
>>>help(print), help(input)
|
>>>help(print), help(input)
|
||||||
|
|
||||||
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(...)
|
||||||
|
print(value, ..., sep=' ', end='\n', file=sys.stdout, 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.
|
||||||
|
Optional keyword arguments:
|
||||||
sep
|
file: a file-like object (stream); defaults to the current sys.stdout.
|
||||||
string inserted between values, default a space.
|
sep: 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.
|
flush: whether to forcibly flush the stream.
|
||||||
file
|
|
||||||
a file-like object (stream); defaults to the current sys.stdout.
|
|
||||||
flush
|
|
||||||
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=None, /)
|
||||||
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.
|
||||||
|
On *nix systems, readline is used if available.
|
||||||
|
|
||||||
|
(None, None)
|
||||||
|
|
||||||
|
|
||||||
К оперативной помощи также можно обращаться через клавишу F1, в разделе "Указатель" находится список терминов языка. Нахождение в этом списке строки print() (built-in function), изучение справки.
|
К оперативной помощи также можно обращаться через клавишу F1, в разделе "Указатель" находится список терминов языка. Нахождение в этом списке строки print() (built-in function), изучение справки.
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user