From 0a3a5dda309439d25f311793fb6eac58b453f053 Mon Sep 17 00:00:00 2001 From: Pavlo014 Date: Sat, 4 Oct 2025 21:58:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BF=D1=8F=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=20=D1=81=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01_lesson/lesson_1_task_1.py | 2 ++ 01_lesson/lesson_1_task_2.py | 3 +++ 01_lesson/lesson_1_task_3.py | 5 +++++ 01_lesson/lesson_1_task_4.py | 4 ++++ 01_lesson/lesson_1_task_5.py | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 01_lesson/lesson_1_task_1.py create mode 100644 01_lesson/lesson_1_task_2.py create mode 100644 01_lesson/lesson_1_task_3.py create mode 100644 01_lesson/lesson_1_task_4.py create mode 100644 01_lesson/lesson_1_task_5.py diff --git a/01_lesson/lesson_1_task_1.py b/01_lesson/lesson_1_task_1.py new file mode 100644 index 0000000..6d7157c --- /dev/null +++ b/01_lesson/lesson_1_task_1.py @@ -0,0 +1,2 @@ +my_name = "Pavel" +print(my_name) \ No newline at end of file diff --git a/01_lesson/lesson_1_task_2.py b/01_lesson/lesson_1_task_2.py new file mode 100644 index 0000000..bb6c9f0 --- /dev/null +++ b/01_lesson/lesson_1_task_2.py @@ -0,0 +1,3 @@ +my_age = 52 +my_age = 55 +print(my_age) \ No newline at end of file diff --git a/01_lesson/lesson_1_task_3.py b/01_lesson/lesson_1_task_3.py new file mode 100644 index 0000000..d361beb --- /dev/null +++ b/01_lesson/lesson_1_task_3.py @@ -0,0 +1,5 @@ +#first_name = input("Pavel") +#last_name = input("Bezmelnitsin") +first_name = input() +last_name = input() +print("Вас зовут:", last_name, first_name) \ No newline at end of file diff --git a/01_lesson/lesson_1_task_4.py b/01_lesson/lesson_1_task_4.py new file mode 100644 index 0000000..d59b964 --- /dev/null +++ b/01_lesson/lesson_1_task_4.py @@ -0,0 +1,4 @@ +def print_greeting(): + print("Привет, мир!") + +print_greeting() \ No newline at end of file diff --git a/01_lesson/lesson_1_task_5.py b/01_lesson/lesson_1_task_5.py new file mode 100644 index 0000000..c9bafbb --- /dev/null +++ b/01_lesson/lesson_1_task_5.py @@ -0,0 +1,14 @@ +def print_number(num): + print(num, end='') + +print_number(8) +print_number(8) +print_number(0) +print_number(0) +print_number(5) +print_number(5) +print_number(5) +print_number(3) +print_number(5) +print_number(3) +print_number(5) \ No newline at end of file