From dbe80d578315f4a61aa37786fdec216213b3c556 Mon Sep 17 00:00:00 2001 From: ZhalninVY Date: Fri, 24 Oct 2025 07:31:25 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20=D0=B2=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=B0=D0=BD=D0=B4=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA3/report.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/TEMA3/report.md b/TEMA3/report.md index f0cee257..2b0aa924 100644 --- a/TEMA3/report.md +++ b/TEMA3/report.md @@ -167,14 +167,17 @@ NameError: name 'kort8' is not defined. Did you mean: 'kort7'? Создание строки со своей фамилией и инициалами, преобразование её в список, затем список – в кортеж и, наконец, кортеж – в строку. . ```python ->>>fam = list('Zhalnin VY') ->>>fam +>>>fio = "Zhalnin VY" +>>>fio +"Zhalnin VY" +>>>fio_list = list(fio) +>>>fio_list ['Z', 'h', 'a', 'l', 'n', 'i', 'n', ' ', 'V', 'Y'] ->>>kort = tuple(fam) ->>>kort +>>>fio_tuple = tuple(fio_list) +>>>fio_tuple ('Z', 'h', 'a', 'l', 'n', 'i', 'n', ' ', 'V', 'Y') ->>>strk = str(kort) ->>>strk +>>>fio_string = str(fio_tuple) +>>>fio_string "('Z', 'h', 'a', 'l', 'n', 'i', 'n', ' ', 'V', 'Y')" ``` From f81568cdea95db3905aca18627b194abfd43438e Mon Sep 17 00:00:00 2001 From: ZhalninVY Date: Fri, 24 Oct 2025 07:54:06 +0000 Subject: [PATCH 2/2] =?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'TEMA3/task.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA3/task.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TEMA3/task.md b/TEMA3/task.md index 8183902c..8e308c90 100644 --- a/TEMA3/task.md +++ b/TEMA3/task.md @@ -11,6 +11,7 @@ ## Решение ```python +>>>vosm = "45" >>>celoe = int(vosm, 8) >>>celoe 37