From 4efd7b84547b293e8a5e16ffd7fdbaabc46c8ec8 Mon Sep 17 00:00:00 2001 From: Solovyova_ED Date: Thu, 25 Sep 2025 02:28:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BE=D1=82=D1=87=D1=91=D1=82=20TEMA2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA2/report.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/TEMA2/report.md b/TEMA2/report.md index 532b0ed..3c657c5 100644 --- a/TEMA2/report.md +++ b/TEMA2/report.md @@ -256,9 +256,17 @@ True # Общее контрольное задание по теме 2 ```py familia='Solovyova' +familia +'Solovyova' bukva = familia[0] +bukva +'S' sp_kw = kw.kwlist +sp_kw +['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield'] sp_kw.remove('nonlocal') +sp_kw +['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield'] kort_nam = ('Екатерина', 'Фёдор', 'Елизавета','Никита') type(kort_nam) @@ -266,4 +274,6 @@ kort_nam = kort_nam + ("Дима", "Максим") kort_nam.count('Дима') 1 dict_bas = {'Строка': [familia,bukva], 'Список': sp_kw, 'Кортеж': kort_nam} +dict_bas +{'Строка': ['Solovyova', 'S'], 'Список': ['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield'], 'Кортеж': ('Екатерина', 'Фёдор', 'Елизавета', 'Никита', 'Дима', 'Максим')} ``` \ No newline at end of file