From 5548bc4e22b3070ba045fecca97cc7286eed92c6 Mon Sep 17 00:00:00 2001 From: joker Date: Wed, 12 Oct 2022 11:55:51 +0300 Subject: [PATCH] new file: tasck11.py new file: tasck12.py new file: task1.py new file: task10.py new file: task13.py new file: task14.py new file: task15.py new file: task16.py new file: task2.py new file: task3.py new file: task4.py new file: task5.py new file: task7.py new file: task8.py new file: task9.py --- tasck11.py | 1 + tasck12.py | 1 + task1.py | 2 ++ task10.py | 3 +++ task13.py | 1 + task14.py | 3 +++ task15.py | 7 +++++++ task16.py | 3 +++ task2.py | 1 + task3.py | 1 + task4.py | 1 + task5.py | 1 + task7.py | 1 + task8.py | 1 + task9.py | 11 +++++++++++ 15 files changed, 38 insertions(+) create mode 100644 tasck11.py create mode 100644 tasck12.py create mode 100644 task1.py create mode 100644 task10.py create mode 100644 task13.py create mode 100644 task14.py create mode 100644 task15.py create mode 100644 task16.py create mode 100644 task2.py create mode 100644 task3.py create mode 100644 task4.py create mode 100644 task5.py create mode 100644 task7.py create mode 100644 task8.py create mode 100644 task9.py diff --git a/tasck11.py b/tasck11.py new file mode 100644 index 0000000..4abae91 --- /dev/null +++ b/tasck11.py @@ -0,0 +1 @@ +print('Python'*1234) \ No newline at end of file diff --git a/tasck12.py b/tasck12.py new file mode 100644 index 0000000..e39f283 --- /dev/null +++ b/tasck12.py @@ -0,0 +1 @@ +print(int(('1'*123))**2) \ No newline at end of file diff --git a/task1.py b/task1.py new file mode 100644 index 0000000..0f1233e --- /dev/null +++ b/task1.py @@ -0,0 +1,2 @@ +import this + diff --git a/task10.py b/task10.py new file mode 100644 index 0000000..781f0b7 --- /dev/null +++ b/task10.py @@ -0,0 +1,3 @@ +a = 3 +a = a * 5 + a ** 2 +print(a) \ No newline at end of file diff --git a/task13.py b/task13.py new file mode 100644 index 0000000..aef5aab --- /dev/null +++ b/task13.py @@ -0,0 +1 @@ +print(int(str(15**10)*10)**2) \ No newline at end of file diff --git a/task14.py b/task14.py new file mode 100644 index 0000000..2ae05f7 --- /dev/null +++ b/task14.py @@ -0,0 +1,3 @@ +a = int(input()) +b = int(input()) +print(a+b) \ No newline at end of file diff --git a/task15.py b/task15.py new file mode 100644 index 0000000..14a5836 --- /dev/null +++ b/task15.py @@ -0,0 +1,7 @@ +a = int(input()) +b = int(input()) +a += b +b = a-b +a -= b +print(a) +print(b) \ No newline at end of file diff --git a/task16.py b/task16.py new file mode 100644 index 0000000..62f0e0c --- /dev/null +++ b/task16.py @@ -0,0 +1,3 @@ +a = int(input()) +print("The next number for the number", int(a),"is",str(a+1)+'.') +print("The previous number for the number",a,"is",str(a-1)+".") \ No newline at end of file diff --git a/task2.py b/task2.py new file mode 100644 index 0000000..a0d98a4 --- /dev/null +++ b/task2.py @@ -0,0 +1 @@ +print(2**1234) \ No newline at end of file diff --git a/task3.py b/task3.py new file mode 100644 index 0000000..554db96 --- /dev/null +++ b/task3.py @@ -0,0 +1 @@ +print(1*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20) \ No newline at end of file diff --git a/task4.py b/task4.py new file mode 100644 index 0000000..6e01f3f --- /dev/null +++ b/task4.py @@ -0,0 +1 @@ +print(2**2**3) \ No newline at end of file diff --git a/task5.py b/task5.py new file mode 100644 index 0000000..d9923aa --- /dev/null +++ b/task5.py @@ -0,0 +1 @@ +print(2*5**(2*2-2)-((-2)**2**2-2**2**3)+10) \ No newline at end of file diff --git a/task7.py b/task7.py new file mode 100644 index 0000000..0e439f6 --- /dev/null +++ b/task7.py @@ -0,0 +1 @@ +print(1+0+2+3+4+5+6+7+8+9+8+7+6+5+4+3+2+0+1) \ No newline at end of file diff --git a/task8.py b/task8.py new file mode 100644 index 0000000..280398d --- /dev/null +++ b/task8.py @@ -0,0 +1 @@ +print(3**10) \ No newline at end of file diff --git a/task9.py b/task9.py new file mode 100644 index 0000000..0df5e2b --- /dev/null +++ b/task9.py @@ -0,0 +1,11 @@ +a = 10 +b = 20 + +c = a + +a = b +b = c + +a,b = b,a + +print(a,b) \ No newline at end of file