From 205d9749b5ff7ed6e7b5aafbfc621a0f22018fe6 Mon Sep 17 00:00:00 2001 From: AntonovDAn Date: Mon, 1 Sep 2025 13:06:29 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'TEMA1/report.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA1/report.md | 84 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/TEMA1/report.md b/TEMA1/report.md index 36b6417..4989fbd 100644 --- a/TEMA1/report.md +++ b/TEMA1/report.md @@ -1,20 +1,100 @@ # Отчет по теме 1 +Антонов Дмитрий, А-03-23 + +## 1 Изучение среды IDLE + +## 1.1 Начало работы ```py print('Hello') Hello h=input('Your name=') Your name=Dmitriy exit() +``` + +## 1.2 Настройка текущего каталога +```py >>> import os >>> os.chdir('C:\\Users\\u111-01\\Desktop\\python-labs\\TEMA1\\') ``` +## 1.3 Настройка окна IDLE +![Скриншот настроенного окна](figure01.png) -#выполнение всего сразу +## 1.4 Запуск программы ```py #Программа по Теме 1 <Антонов Дмитрий Антонович> print('Hello') h=input('Your name=') import os os.chdir('C:\\Users\\u111-01\\Desktop\\python-labs\\TEMA1\\') -``` \ No newline at end of file +``` +## 1.5 Запуск программы через import +```py +import Pr0 +Hello +Your name=D +import prb1 +Как Вас зовут? D +Привет, D +``` + +## 1.6 Содержимое файла pycache +![Скриншот настроенного окна](figure1.png) + +## 1.7 Изучение раздела помощи +```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) +``` + +## 1.8 Запуск программы из IDLE +```py +import tdemo_chaos +====== RESTART: C:\Users\u111-01\Desktop\python-labs\TEMA1\tdemo_chaos.py ====== +``` + +## 1.9 Изучение примеров +![Скриншот примера часов](figure4.png) +![Скриншот примера дерева](figure5.png) +![Скриншот примера ](figure6.png)