ответвлено от main/python-labs
day1:report
Этот коммит содержится в:
49
TEMA1/protocol.py
Обычный файл
49
TEMA1/protocol.py
Обычный файл
@@ -0,0 +1,49 @@
|
||||
#Протокол по Теме 1 Мамакин Ярослав Романович
|
||||
Python 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:15:11) [MSC v.1944 64 bit (AMD64)] on win32
|
||||
Enter "help" below or click "Help" above for more information.
|
||||
import os
|
||||
os.chdir(r'C:\Users\uprkt\Desktop\ПО\python-labs\TEMA1')
|
||||
import Pr0
|
||||
Hello
|
||||
Your name=Yaroslav
|
||||
|
||||
import prb1
|
||||
Как Вас зовут? Yaroslav
|
||||
Привет, Yaroslav
|
||||
help(print)
|
||||
Help on built-in function print in module builtins:
|
||||
|
||||
print(*args, sep=' ', end='\n', file=None, 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.
|
||||
|
||||
help(print),help(input)
|
||||
Help on built-in function print in module builtins:
|
||||
|
||||
print(*args, sep=' ', end='\n', file=None, 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.
|
||||
|
||||
Help on built-in function input in module builtins:
|
||||
|
||||
input(prompt='', /)
|
||||
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.
|
||||
Ссылка в новой задаче
Block a user