diff --git a/TEMA1/report.md b/TEMA1/report.md index e69de29..d70f3e6 100644 --- a/TEMA1/report.md +++ b/TEMA1/report.md @@ -0,0 +1,63 @@ +# Отчет по Теме 1 + +Степанов Артём, А-02-23 + +## 1 Знакомство с интерпретатором и интерактивной оболочкой IDLE + +1.1 Запустил на выполнение программу-интерпретатор «IDLE Shell 3.11.5» и ознакомился с содержанием её диалогового окна. + +1.2 + +```py + #Программа по Теме 1 Степанов Артём Владимирович + print("Hello") + h = input("Your name = ") + import os + os.chdir("C:\\Users\\u207-02\\python-labs\\TEMA1") +``` + +```py + 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. + + If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError. + On *nix systems, readline is used if available. + + (None, None) +``` +