форкнуто от main/python-labs
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
57 строки
1.8 KiB
Python
57 строки
1.8 KiB
Python
#Протокол по Теме 1 <Лазарев Данил Вячеславович>
|
|
Python 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:47:33) [MSC v.1943 64 bit (AMD64)] on win32
|
|
Enter "help" below or click "Help" above for more information.
|
|
import os
|
|
os.chdir('D:\\Lazarev\\Tema1\\')
|
|
|
|
================= RESTART: D:/Lazarev/Tema1/Pr0.py =================
|
|
Hello
|
|
Your name=Danil
|
|
import Pr0
|
|
Hello
|
|
Your name=Danil
|
|
|
|
================= RESTART: D:/Lazarev/Tema1/Pr0.py =================
|
|
Hello
|
|
Your name=Danil
|
|
import prb1
|
|
Как Вас зовут? Danil
|
|
Привет, Danil
|
|
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
|
|
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.
|
|
|
|
If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError.
|
|
On *nix systems, readline is used if available.
|