FilippovDY (FilippovDY) 1 месяц назад
Родитель 4243c10c2d
Сommit dbc43c2100

@ -68,44 +68,45 @@ Your name=й Nz&C:\Users\danii\Desktop\Filippov\Tema1\)ЪprintЪinputЪh
# 16. Ввод инструкции обращения к оперативной помощи по функции print() - вывод значений указываемого объекта на заданное устройство.
>>>help (print)
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.
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. Убедился в том, что можно в одной строке ввести несколько инструкций, разделяя их запятыми
>>>help(print), help(input)
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.
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.
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.
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.
The prompt string, if given, is printed to standard output without a
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), изучение справки.

Загрузка…
Отмена
Сохранить