форкнуто от main/python-labs
Сommit
9cb5eb3283
@ -0,0 +1,80 @@
|
||||
# Протокол по Теме 1 <Мельников Дмитрий Максимович>
|
||||
|
||||
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32
|
||||
Type "help", "copyright", "credits" or "license()" for more information.
|
||||
import os
|
||||
os.chdir
|
||||
<built-in function chdir>
|
||||
|
||||
os.chdir ('C:\\Users\\dimoo\\OneDrive\\Рабочий стол\\Melnikov\\Tema1\\')
|
||||
|
||||
========== RESTART: C:/Users/dimoo/OneDrive/Рабочий стол/Melnikov/Tema1/Pr0.py =========
|
||||
Hello
|
||||
Your name=Dmitry
|
||||
import Pr0
|
||||
Hello
|
||||
Your name=Dmitry
|
||||
|
||||
========== RESTART: C:/Users/dimoo/OneDrive/Рабочий стол/Melnikov/Tema1/Pr0.py =========
|
||||
Hello
|
||||
Your name=
|
||||
|
||||
========= RESTART: C:\Users\dimoo\OneDrive\Рабочий стол\Melnikov\Tema1\prb1.py =========
|
||||
Как Вас зовут? Dmitry
|
||||
Привет, Dmitry
|
||||
import prb1
|
||||
Как Вас зовут? Dmitry
|
||||
Привет, Dmitry
|
||||
print()
|
||||
|
||||
|
||||
help(print)
|
||||
Help on built-in function print in module builtins:
|
||||
|
||||
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.
|
||||
|
||||
help(print), help(input)
|
||||
Help on built-in function print in module builtins:
|
||||
|
||||
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.
|
||||
|
||||
Help on built-in function input in module builtins:
|
||||
|
||||
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)
|
||||
print(10)
|
||||
10
|
||||
|
||||
========= RESTART: C:\Users\dimoo\OneDrive\Рабочий стол\Melnikov\Tema1\prb1.py =========
|
||||
Как Вас зовут? Dmitry
|
||||
Привет, Dmitry
|
||||
import tdemo_chaos
|
||||
|
||||
====== RESTART: C:\Users\dimoo\OneDrive\Рабочий стол\Melnikov\Tema1\tdemo_chaos.py =====
|
||||
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче