From 80c2b13248fa70c5888c0b8fbd0160a76e7f253a Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 20 Oct 2016 20:55:06 +0300 Subject: [PATCH 01/15] =?UTF-8?q?Homework=20=E2=84=961?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Введення та вивід інформації. Прості операції 1 --- students/km62/Parfonov_Anatolij/1.txt | 86 +++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 students/km62/Parfonov_Anatolij/1.txt diff --git a/students/km62/Parfonov_Anatolij/1.txt b/students/km62/Parfonov_Anatolij/1.txt new file mode 100644 index 0000000..08ad175 --- /dev/null +++ b/students/km62/Parfonov_Anatolij/1.txt @@ -0,0 +1,86 @@ ++#task1------------------------------------------------------------ + +""" + + , . + + . + +""" + +print('Program that takes three numbers and prints their sum') + +num1 = int(input('Value 1:')) + +num2 = int(input('Value 2:')) + +num3 = int(input('Value 3:')) + +print(num1 + num2 + num3) + +#--------------------------------------------------------------- + + + +#task2-------------------------------------------------------- + +""" + + , + + . + + . + +""" + +cath_1 = int(input('Enter first cathetus')) + +cath_2 = int(input('Enter second cathetus')) + +print(0.5 * cath_1 * cath_2) + +#-------------------------------------------------------------- + + + +#task3------------------------------------------------------------ + +""" + +N K . + + . + +? ? + +""" + +print("Program gets the numbers N and K. It should print the two numbers: an\ + +swers for the questions above.") + +students = int(input("Students:")) + +apples = int(input("Apples:")) + +print(apples // students, apples % students) + +#--------------------------------------------------------------- + + + +#task4------------------------------------------------------------ + +""" + + N - , . + + , + + 00:00? + +""" + +print("Digital Clock") + +minutes = int(input("Enter a number of minutes:")) + +hours = minutes // 60 + +hours = hours % 24 + +minutes = minutes - hours * 60 + +#--------------------------------------------------------------- + + + +#task5--------------------------------------------------------------- + +""" + + , , "Hello", + +' . + + Hello, Mike! + +""" + +name = input("Enter name") + +print(("Hello, " + name +"!") ) + +#--------------------------------------------------------------------- + + + +#task6------------------------------------------------------------ + +""" + + , : + + The next number for the number 179 is 180. + + The previous number for the number 179 is 178. + +""" + +num = int(input("Enter a number")) + +print('The next number for the number %s is %s' % (num, num+1)) + +print('The previous number for the number %s is %s' % (num, num-1)) + +#--------------------------------------------------------------- + + + +#task7------------------------------------------------------------ + +""" + + + +. , + +, . + + ? + +""" + +tables = 0 + +students = int(input("First class")) + +tables += students // 2 + students % 2 + +students = int(input("Second class")) + +tables += students // 2 + students % 2 + +students = int(input("Third class")) + +tables += students // 2 + students % 2 + +print(tables) + +#--------------------------------------------------------------- \ No newline at end of file From b4ed5aa44e3e3211ca34ea63ac208f7367475066 Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 20 Oct 2016 20:56:43 +0300 Subject: [PATCH 02/15] =?UTF-8?q?Homework=20=E2=84=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2. Умовні конструкції --- students/km62/Parfonov_Anatolij/2.txt | 214 ++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 students/km62/Parfonov_Anatolij/2.txt diff --git a/students/km62/Parfonov_Anatolij/2.txt b/students/km62/Parfonov_Anatolij/2.txt new file mode 100644 index 0000000..b651ee5 --- /dev/null +++ b/students/km62/Parfonov_Anatolij/2.txt @@ -0,0 +1,214 @@ ++#task1------------------------------------------------------------ + +""" + + . + +""" + +a = int(input()) + +b = int(input()) + +if (a < b): + + print(a) + +else: + + print(b) + +#----------------------------------------------------------------- + + + + + +#task2------------------------------------------------------------ + +""" + + sign(x), : + +sign(x) = 1, if x > 0, + +sign(x) = -1, if x < 0, + +sign(x) = 0, if x = 0.. + +""" + +x = int(input()) + +if x>0: + + print("1") + +elif x==0: + + print("0") + +else: + + print("-1") + +#----------------------------------------------------------------- + + + + + +#task3------------------------------------------------------------ + +""" + + . . + +""" + +a = int(input()) + +b = int(input()) + +c = int(input()) + +if a<=b and a<=c: + + print(a) + +elif b<=a and b<=c: + + print(b) + +else: + + print(c) + +#----------------------------------------------------------------- + + + + + +#task4------------------------------------------------------------ + +""" + + , . , + +. , "LEAP", + + "OMMON". + +""" + +year = int(input("Enter a year")) + +if ((year % 4 == 0) and (year % 100 != 0)) or (year % 400 == 0): + + print("LEAP") + +else: + + print("COMMON") + +#----------------------------------------------------------------- + + + +#task5------------------------------------------------------------ + +""" + + . , . + + : 3 ( ), 2 ( + + , ) 0 ( ). + +""" + +a = int(input()) + +b = int(input()) + +c = int(input()) + +if a == b == c: + + print(3) + +elif a == b or b == c or a == c: + + print(2) + +else: + + print(0) + +#----------------------------------------------------------------- + + + + + +#task6------------------------------------------------------------ + +""" + + . + + . , + + . + + 1 8, + + . - , + + . "YES", + + , "NO" . + +""" + +if (cell_ax == cell_bx) or (cell_ay == cell_by): + + print("YES") + +else: + + print("NO") + +#----------------------------------------------------------------- + + + +#task7------------------------------------------------------------ + +""" + + . , + +. 1 8, + + . - , + + . "YES", , "NO" . + +""" + +x1 = int(input()) + +y1 = int(input()) + +x2 = int(input()) + +y2 = int(input()) + +if (x1+y1)%2==0 and (x2+y2)%2==0: + + print("YES") + +elif (x1+y1)%2!=0 and (x2+y2)%2!=0: + + print("YES") + +else: + + print("NO") + +#----------------------------------------------------------------- + + + + + +#task8------------------------------------------------------------ + +""" + + , + + - . . + +, . + + 1 8, + + . - , + + . "YES", + +, "NO" . + +""" + +x1 = int(input()) + +y1 = int(input()) + +x2 = int(input()) + +y2 = int(input()) + +if -1<=(x1-x2)<=1 and -1<=(y1-y2)<=1: + + print("YES") + +else: + + print("NO") + +#----------------------------------------------------------------- + + + + + +#task9------------------------------------------------------------ + +""" + + - . + + . , + + . + + 1 8, . + + - , . + + "YES", , "NO" . + +""" + +x1 = int(input()) + +y1 = int(input()) + +x2 = int(input()) + +y2 = int(input()) + +if abs(x1-x2) == abs(y1-y2): + + print("YES") + +else: + + print("NO") + +#----------------------------------------------------------------- + + + + + +#task10------------------------------------------------------------ + +""" + + , + + - . + + . , + + . + + 1 8, . + + - , . + + "YES", , "NO" . + +""" + +x1 = int(input()) + +y1 = int(input()) + +x2 = int(input()) + +y2 = int(input()) + +if abs(x1 - x2) == abs(y1 - y2) or x1 == x2 or y1 == y2: + + print('YES') + +else: + + print('NO') + +#----------------------------------------------------------------- + + + + + +#task11------------------------------------------------------------ + +""" + + L. ³ + + + + . . , + + . + + 1 8, + +. - , . + + "YES", , "NO" . + +""" + +x1 = int(input()) + +y1 = int(input()) + +x2 = int(input()) + +y2 = int(input()) + +if abs(x1-x2)==2 and abs(y1-y2)==1: + + print("YES") + +elif abs(x1-x2)==1 and abs(y1-y2)==2: + + print("YES") + +else: + + print("NO") + +#----------------------------------------------------------------- + + + + + +#task12------------------------------------------------------------ + +""" + + , n?m . + + , + + . , + + , k . "YES", + + , "NO" . + +""" + +n = int(input()) + +m = int(input()) + +k = int(input()) + +if k < n * m and ((k % n == 0) or (k % m == 0)): + + print('YES') + +else: + + print('NO') + +#----------------------------------------------------------------- \ No newline at end of file From 86b32f339c60cdba0559d7c1c7eed702f11afebd Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 20 Oct 2016 20:57:24 +0300 Subject: [PATCH 03/15] Homework 3 3. For --- students/km62/Parfonov_Anatolij/3.txt | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 students/km62/Parfonov_Anatolij/3.txt diff --git a/students/km62/Parfonov_Anatolij/3.txt b/students/km62/Parfonov_Anatolij/3.txt new file mode 100644 index 0000000..c1c1dc5 --- /dev/null +++ b/students/km62/Parfonov_Anatolij/3.txt @@ -0,0 +1,52 @@ ++#task1------------------------------------------------------ + +""" + + n n!. + +""" + +n = int(input()) + +fact = 1 + +for i in range(1, n + 1): + + fact= fact * i + +print (fact) + +#----------------------------------------------------------- + + + +#task2------------------------------------------------------------ + +''' + + nn 1!+2!+3!+...+n!1!+2!+3!+...+n!. + + . + + math . + +''' + +n = int(input("")) + +res = 1 + +sum = 0 + +for i in range(1,n+1): + + res *= i + + sum += res + +print(sum) + +#----------------------------------------------------------------- + + + +#task3------------------------------------------------------------ + +''' + + N : N, N . + + . + + , , . + +''' + +n = int(input()) + +k = 0 + +for i in range(1, n+1): + + x = int(input()) + + if x == 0: + + k += 1 + +print(k) + +#----------------------------------------------------------------- + + + +#task4------------------------------------------------------------ + +''' + + n ? 9 n , i- + + 1 i . + +''' + +n = int(input()) + +out_str = "" + +for i in range(1, n+1): + + out_str += str(i) + + print(out_str) + +#----------------------------------------------------------------- \ No newline at end of file From 12e99c893b1153a437bc9f83588cb42e185d7634 Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 20 Oct 2016 20:58:16 +0300 Subject: [PATCH 04/15] Homework4 4. While --- students/km62/Parfonov_Anatolij/4.txt | 475 ++++++++++++++++++++++++++ 1 file changed, 475 insertions(+) create mode 100644 students/km62/Parfonov_Anatolij/4.txt diff --git a/students/km62/Parfonov_Anatolij/4.txt b/students/km62/Parfonov_Anatolij/4.txt new file mode 100644 index 0000000..095fe72 --- /dev/null +++ b/students/km62/Parfonov_Anatolij/4.txt @@ -0,0 +1,475 @@ ++#task1------------------------------------------------ + +""" + + A B ( A ? B). + + A B . + +""" + +# , + +#number, :int. + +#i, :int. + +# + +number = int(input(' ')) + + + +# + +i=1 + + + +while (i**2)<=N: + + + + print(i**2) + + + + i+=1 + +#----------------------------------------------------- + + + + + +#task2------------------------------------------------ + +""" + + , 2. , 1. + + + +""" + +# + +number=int(input()) # + +variable=2 # 2 + +while number%variable!=0: #, 0 + + if number<2: # 2 + + break # + + variable+=1 # 1 + +else: # + + print(variable) # + + + + + +#task3------------------------------------------------ + +""" + + N , N. + + . + + ! + +""" + +# 2 + +#number, :int. + +#two_in_power, :int. + +#power, :int. + +# + +number = int(input(' , 2')) + + + +# + +two_in_power = 2 + + + +power = 1 + + + +while two_in_power <= n: + + + + two_in_power *= 2 + + + + power += 1 + + + +print(': ', power - 1, ' :', 'two_in_power // 2) + +#----------------------------------------------------- + + + + + +#task4------------------------------------------------ + +""" + + x , 10% . + + y , y . + + + +""" + +# 1 + +start_distance=int(input()) # + +finished_distance=int(input()) # + +i=1 # 1 + +while start_distance max: + + + + max = element + + + +print(': ', max) + +#----------------------------------------------------- + + + + + +#task10----------------------------------------------- + +""" + + 0. . + + , . . + +""" + +# + +#max, :int. + +#len, :int. + +#index_of_max, :int. + +#element, :int. + +# + +max = 0 + + + +index_of_max = -1 + + + +element = -1 + + + +len = 0 + + + +while element != 0: + + + + element = int(input(' ')) + + + + if element > max: + + + + max = element + + + + index_of_max = len + + + + len += 1 + + + +print(': ', index_of_max) + + + +#----------------------------------------------------- + + + + + +#task11----------------------------------------------- + +""" + + , 0. + +""" + +#num_even, :int. + +#element, :int. + +# + +num_even = -1 + + + +element = -1 + + + +while element != 0: + + + + element = int(input(' ')) + + + + if element % 2 == 0: + + + + num_even += 1 + + + +print(': ', num_even) + +#----------------------------------------------------- + + + + + +#task12----------------------------------------------- + +""" + + 0. + +, . + +""" + +#answer, :int. + +#prev, :int. + +#next, :int. + +# + +prev = int(input(' ')) + + + +answer = 0 + + + +while prev != 0: + + + + next = int(input(' ')) + + + + if next != 0 and prev < next: + + + + answer += 1 + + + + prev = next + + + +print(': ', answer) + +#----------------------------------------------------- + + + + + +#task13----------------------------------------------- + +""" + + 0. . + +, . + +""" + +#first_max, :int. + +#second_max, :int. + +#element, :int. + +# + +first_max=0 + + + +while 1==1: + + + + element=int(input(' ')) + + + + if x > first_max: + + + + second_max = first_max + + + + first_max = element + + + + elif element > second_max: + + + + second_max = element + + if element == 0: + + + + print(': ', second_max) + + + + break + +#----------------------------------------------------- + + + + + +#task14----------------------------------------------- + +""" + + 0. + +, . + +""" + +#max, :int. + +#i, :int. + +#element, :int. + +# + +max=0 + + + +i=1 + + + +while 1==1: + + + + element=int(input(' ')) + + + + if element>max: + + + + max=element + + + + i=1 + + + + elif element==max: + + + + i+=1 + + + + if element==0: + + + + print(i) + + + + break + +#----------------------------------------------------- + + + + + +#task15----------------------------------------------- + +""" + + n n- ?n. + + + + for. + +""" + +#n, :int. + +#a,b,c,i, :int. + +# + +n=int(input()) + + + +a=1 + + + +b=1 + + + +c=1 + + + +i=2 + + + +if n==0: + + print("0") + + + +else: + + + + while i Date: Thu, 1 Dec 2016 22:36:42 +0200 Subject: [PATCH 05/15] Homework_1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Введення та вивід інформації. Прості операції ; Умовні конструкції ; for. --- students/km62/Parfonov_Anatolij/homework_1.py | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 students/km62/Parfonov_Anatolij/homework_1.py diff --git a/students/km62/Parfonov_Anatolij/homework_1.py b/students/km62/Parfonov_Anatolij/homework_1.py new file mode 100644 index 0000000..f1c6c64 --- /dev/null +++ b/students/km62/Parfonov_Anatolij/homework_1.py @@ -0,0 +1,84 @@ +#task1------------------------------------------------------------ + + , . . + + +#a=float(input(" :")) +b=float(input(" :")) +c=float (input(" :")) +print(":",a+b+c) +#----------------------------------------------------------------- + + +#task2------------------------------------------------------------ + + , . . + + +#a=float(input(" :")) +b=float(input(" :")) +print(a*b*1/2) +#----------------------------------------------------------------- + + +#task3------------------------------------------------------------ + +N K . . ? ? + N K. : . + + +#N=int(input("- :")) +K=int(input("- :")) +print("- :",N//K) +print("- :",N%K) +#----------------------------------------------------------------- + + +#task4------------------------------------------------------------ + + N - , . , 00:00? + : ( 0 23) ( 0 59). ³ , , N . + + +#N=int(input("- :")) +b=N//60 +c=N%60 +print(":",b) +print(":",c) +#----------------------------------------------------------------- + + +#task5------------------------------------------------------------ + + , , "Hello", ' . Hello, Mike! + + +#name=input("your name:") +print("Hello,",name,"!") +#----------------------------------------------------------------- + + +#task6------------------------------------------------------------ + + , : The next number for the number 179 is 180. The previous number for the number 179 is 178. + + +#a=input(" :") +print("The next number for the number",a,int(a)+1) +print("The previous number for the number",a,int(a)-1) +#----------------------------------------------------------------- + + +#task7------------------------------------------------------------ + + . , , . ? + + +#a=int(input(" ")) +b=int(input(" ")) +c=int(input(" ")) +d=a//2+a%2 +f=b//2+b%2 +e=c//2+c%2 +print(d+f+e) +#----------------------------------------------------------------- From e7a08979974981ace8e4615b26150e2cf39fe1d8 Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 1 Dec 2016 22:53:26 +0200 Subject: [PATCH 06/15] Homework_2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Умовні конструкції --- students/km62/Parfonov_Anatolij/homework_2.py | Bin 0 -> 19234 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 students/km62/Parfonov_Anatolij/homework_2.py diff --git a/students/km62/Parfonov_Anatolij/homework_2.py b/students/km62/Parfonov_Anatolij/homework_2.py new file mode 100644 index 0000000000000000000000000000000000000000..0d5e71e7f5d52bcf3d6edd07b7e60a26ae496d94 GIT binary patch literal 19234 zcmeI4U2hxL5r)sjUKQv~+AH6bu@Fd3YKNjF>%$}^QE{yRj#Z$6ie5^J-5RoFLrwtu zm-gSZeV-YQ&MrTel;TKKMF=Z$&z|o+Gw;lM=J3D&Sx7&p!}KAYq~-MRhW>t^ewXgs zAKw;=cF`?bMYGsUjr2!-c68rJE0)$se<==%r^R~lOli;cxud&g@kn{U&|RxoRZ36a z8mXi74b`@)8us+Rk=87gvX2sNaebk?gJMN_4)k=z+B>keH`VU8wa_bet@Y>1(bBiB z@~^9v7rOWUPa*C(lgO%IAXh{V;XXn{=jkxMZL2(=Yb@L3&`% zk0v~SlU{4y4pTcFrA;f*&^>?e)A>cshyB`KrMFrsuWE80^>Z%V&`K(=V4tN}-K`tz z5&g*Tu)4YjSM0V{>6+HsQ?0C?R$@=9>O0+cip_%c@ps*S(0lo(-uY7csM-Fr-qrUe zAFQV}3DS^>-C|46*Ci3YR*|c=t#tZWtyiT~^Rm_NtK_5ZySkc| zHm=0Op)&1>WxU4R3N1I&BmL0|*RPe)70um-=AdI*Aj@gFh3O@A)LV+#^BVK}juG(b zGRr(N!aBLlbKx^SUN)CYvYAVDtc7Ncq&7?C>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c3c85778e409bc9afe0adadf1cd8de7b Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 1 Dec 2016 22:54:55 +0200 Subject: [PATCH 07/15] Delete 1.txt --- students/km62/Parfonov_Anatolij/1.txt | 86 --------------------------- 1 file changed, 86 deletions(-) delete mode 100644 students/km62/Parfonov_Anatolij/1.txt diff --git a/students/km62/Parfonov_Anatolij/1.txt b/students/km62/Parfonov_Anatolij/1.txt deleted file mode 100644 index 08ad175..0000000 --- a/students/km62/Parfonov_Anatolij/1.txt +++ /dev/null @@ -1,86 +0,0 @@ -+#task1------------------------------------------------------------ - +""" - + , . - + . - +""" - +print('Program that takes three numbers and prints their sum') - +num1 = int(input('Value 1:')) - +num2 = int(input('Value 2:')) - +num3 = int(input('Value 3:')) - +print(num1 + num2 + num3) - +#--------------------------------------------------------------- - + - +#task2-------------------------------------------------------- - +""" - + , - + . - + . - +""" - +cath_1 = int(input('Enter first cathetus')) - +cath_2 = int(input('Enter second cathetus')) - +print(0.5 * cath_1 * cath_2) - +#-------------------------------------------------------------- - + - +#task3------------------------------------------------------------ - +""" - +N K . - + . - +? ? - +""" - +print("Program gets the numbers N and K. It should print the two numbers: an\ - +swers for the questions above.") - +students = int(input("Students:")) - +apples = int(input("Apples:")) - +print(apples // students, apples % students) - +#--------------------------------------------------------------- - + - +#task4------------------------------------------------------------ - +""" - + N - , . - + , - + 00:00? - +""" - +print("Digital Clock") - +minutes = int(input("Enter a number of minutes:")) - +hours = minutes // 60 - +hours = hours % 24 - +minutes = minutes - hours * 60 - +#--------------------------------------------------------------- - + - +#task5--------------------------------------------------------------- - +""" - + , , "Hello", - +' . - + Hello, Mike! - +""" - +name = input("Enter name") - +print(("Hello, " + name +"!") ) - +#--------------------------------------------------------------------- - + - +#task6------------------------------------------------------------ - +""" - + , : - + The next number for the number 179 is 180. - + The previous number for the number 179 is 178. - +""" - +num = int(input("Enter a number")) - +print('The next number for the number %s is %s' % (num, num+1)) - +print('The previous number for the number %s is %s' % (num, num-1)) - +#--------------------------------------------------------------- - + - +#task7------------------------------------------------------------ - +""" - + - +. , - +, . - + ? - +""" - +tables = 0 - +students = int(input("First class")) - +tables += students // 2 + students % 2 - +students = int(input("Second class")) - +tables += students // 2 + students % 2 - +students = int(input("Third class")) - +tables += students // 2 + students % 2 - +print(tables) - +#--------------------------------------------------------------- \ No newline at end of file From 76a12c8ada96651d06a53e62400ad00ede349d98 Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 1 Dec 2016 22:55:15 +0200 Subject: [PATCH 08/15] Delete 2.txt --- students/km62/Parfonov_Anatolij/2.txt | 214 -------------------------- 1 file changed, 214 deletions(-) delete mode 100644 students/km62/Parfonov_Anatolij/2.txt diff --git a/students/km62/Parfonov_Anatolij/2.txt b/students/km62/Parfonov_Anatolij/2.txt deleted file mode 100644 index b651ee5..0000000 --- a/students/km62/Parfonov_Anatolij/2.txt +++ /dev/null @@ -1,214 +0,0 @@ -+#task1------------------------------------------------------------ - +""" - + . - +""" - +a = int(input()) - +b = int(input()) - +if (a < b): - + print(a) - +else: - + print(b) - +#----------------------------------------------------------------- - + - + - +#task2------------------------------------------------------------ - +""" - + sign(x), : - +sign(x) = 1, if x > 0, - +sign(x) = -1, if x < 0, - +sign(x) = 0, if x = 0.. - +""" - +x = int(input()) - +if x>0: - + print("1") - +elif x==0: - + print("0") - +else: - + print("-1") - +#----------------------------------------------------------------- - + - + - +#task3------------------------------------------------------------ - +""" - + . . - +""" - +a = int(input()) - +b = int(input()) - +c = int(input()) - +if a<=b and a<=c: - + print(a) - +elif b<=a and b<=c: - + print(b) - +else: - + print(c) - +#----------------------------------------------------------------- - + - + - +#task4------------------------------------------------------------ - +""" - + , . , - +. , "LEAP", - + "OMMON". - +""" - +year = int(input("Enter a year")) - +if ((year % 4 == 0) and (year % 100 != 0)) or (year % 400 == 0): - + print("LEAP") - +else: - + print("COMMON") - +#----------------------------------------------------------------- - + - +#task5------------------------------------------------------------ - +""" - + . , . - + : 3 ( ), 2 ( - + , ) 0 ( ). - +""" - +a = int(input()) - +b = int(input()) - +c = int(input()) - +if a == b == c: - + print(3) - +elif a == b or b == c or a == c: - + print(2) - +else: - + print(0) - +#----------------------------------------------------------------- - + - + - +#task6------------------------------------------------------------ - +""" - + . - + . , - + . - + 1 8, - + . - , - + . "YES", - + , "NO" . - +""" - +if (cell_ax == cell_bx) or (cell_ay == cell_by): - + print("YES") - +else: - + print("NO") - +#----------------------------------------------------------------- - + - +#task7------------------------------------------------------------ - +""" - + . , - +. 1 8, - + . - , - + . "YES", , "NO" . - +""" - +x1 = int(input()) - +y1 = int(input()) - +x2 = int(input()) - +y2 = int(input()) - +if (x1+y1)%2==0 and (x2+y2)%2==0: - + print("YES") - +elif (x1+y1)%2!=0 and (x2+y2)%2!=0: - + print("YES") - +else: - + print("NO") - +#----------------------------------------------------------------- - + - + - +#task8------------------------------------------------------------ - +""" - + , - + - . . - +, . - + 1 8, - + . - , - + . "YES", - +, "NO" . - +""" - +x1 = int(input()) - +y1 = int(input()) - +x2 = int(input()) - +y2 = int(input()) - +if -1<=(x1-x2)<=1 and -1<=(y1-y2)<=1: - + print("YES") - +else: - + print("NO") - +#----------------------------------------------------------------- - + - + - +#task9------------------------------------------------------------ - +""" - + - . - + . , - + . - + 1 8, . - + - , . - + "YES", , "NO" . - +""" - +x1 = int(input()) - +y1 = int(input()) - +x2 = int(input()) - +y2 = int(input()) - +if abs(x1-x2) == abs(y1-y2): - + print("YES") - +else: - + print("NO") - +#----------------------------------------------------------------- - + - + - +#task10------------------------------------------------------------ - +""" - + , - + - . - + . , - + . - + 1 8, . - + - , . - + "YES", , "NO" . - +""" - +x1 = int(input()) - +y1 = int(input()) - +x2 = int(input()) - +y2 = int(input()) - +if abs(x1 - x2) == abs(y1 - y2) or x1 == x2 or y1 == y2: - + print('YES') - +else: - + print('NO') - +#----------------------------------------------------------------- - + - + - +#task11------------------------------------------------------------ - +""" - + L. ³ - + - + . . , - + . - + 1 8, - +. - , . - + "YES", , "NO" . - +""" - +x1 = int(input()) - +y1 = int(input()) - +x2 = int(input()) - +y2 = int(input()) - +if abs(x1-x2)==2 and abs(y1-y2)==1: - + print("YES") - +elif abs(x1-x2)==1 and abs(y1-y2)==2: - + print("YES") - +else: - + print("NO") - +#----------------------------------------------------------------- - + - + - +#task12------------------------------------------------------------ - +""" - + , n?m . - + , - + . , - + , k . "YES", - + , "NO" . - +""" - +n = int(input()) - +m = int(input()) - +k = int(input()) - +if k < n * m and ((k % n == 0) or (k % m == 0)): - + print('YES') - +else: - + print('NO') - +#----------------------------------------------------------------- \ No newline at end of file From 908ce88d56f84e748bb2c768e493fd52cf7e94af Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 1 Dec 2016 22:55:22 +0200 Subject: [PATCH 09/15] Delete 3.txt --- students/km62/Parfonov_Anatolij/3.txt | 52 --------------------------- 1 file changed, 52 deletions(-) delete mode 100644 students/km62/Parfonov_Anatolij/3.txt diff --git a/students/km62/Parfonov_Anatolij/3.txt b/students/km62/Parfonov_Anatolij/3.txt deleted file mode 100644 index c1c1dc5..0000000 --- a/students/km62/Parfonov_Anatolij/3.txt +++ /dev/null @@ -1,52 +0,0 @@ -+#task1------------------------------------------------------ - +""" - + n n!. - +""" - +n = int(input()) - +fact = 1 - +for i in range(1, n + 1): - + fact= fact * i - +print (fact) - +#----------------------------------------------------------- - + - +#task2------------------------------------------------------------ - +''' - + nn 1!+2!+3!+...+n!1!+2!+3!+...+n!. - + . - + math . - +''' - +n = int(input("")) - +res = 1 - +sum = 0 - +for i in range(1,n+1): - + res *= i - + sum += res - +print(sum) - +#----------------------------------------------------------------- - + - +#task3------------------------------------------------------------ - +''' - + N : N, N . - + . - + , , . - +''' - +n = int(input()) - +k = 0 - +for i in range(1, n+1): - + x = int(input()) - + if x == 0: - + k += 1 - +print(k) - +#----------------------------------------------------------------- - + - +#task4------------------------------------------------------------ - +''' - + n ? 9 n , i- - + 1 i . - +''' - +n = int(input()) - +out_str = "" - +for i in range(1, n+1): - + out_str += str(i) - + print(out_str) - +#----------------------------------------------------------------- \ No newline at end of file From 8c485d8d3c76484b4b1447de7732824a183c46ea Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 1 Dec 2016 22:55:31 +0200 Subject: [PATCH 10/15] Delete 4.txt --- students/km62/Parfonov_Anatolij/4.txt | 475 -------------------------- 1 file changed, 475 deletions(-) delete mode 100644 students/km62/Parfonov_Anatolij/4.txt diff --git a/students/km62/Parfonov_Anatolij/4.txt b/students/km62/Parfonov_Anatolij/4.txt deleted file mode 100644 index 095fe72..0000000 --- a/students/km62/Parfonov_Anatolij/4.txt +++ /dev/null @@ -1,475 +0,0 @@ -+#task1------------------------------------------------ - +""" - + A B ( A ? B). - + A B . - +""" - +# , - +#number, :int. - +#i, :int. - +# - +number = int(input(' ')) - + - +# - +i=1 - + - +while (i**2)<=N: - + - + print(i**2) - + - + i+=1 - +#----------------------------------------------------- - + - + - +#task2------------------------------------------------ - +""" - + , 2. , 1. - + - +""" - +# - +number=int(input()) # - +variable=2 # 2 - +while number%variable!=0: #, 0 - + if number<2: # 2 - + break # - + variable+=1 # 1 - +else: # - + print(variable) # - + - + - +#task3------------------------------------------------ - +""" - + N , N. - + . - + ! - +""" - +# 2 - +#number, :int. - +#two_in_power, :int. - +#power, :int. - +# - +number = int(input(' , 2')) - + - +# - +two_in_power = 2 - + - +power = 1 - + - +while two_in_power <= n: - + - + two_in_power *= 2 - + - + power += 1 - + - +print(': ', power - 1, ' :', 'two_in_power // 2) - +#----------------------------------------------------- - + - + - +#task4------------------------------------------------ - +""" - + x , 10% . - + y , y . - + - +""" - +# 1 - +start_distance=int(input()) # - +finished_distance=int(input()) # - +i=1 # 1 - +while start_distance max: - + - + max = element - + - +print(': ', max) - +#----------------------------------------------------- - + - + - +#task10----------------------------------------------- - +""" - + 0. . - + , . . - +""" - +# - +#max, :int. - +#len, :int. - +#index_of_max, :int. - +#element, :int. - +# - +max = 0 - + - +index_of_max = -1 - + - +element = -1 - + - +len = 0 - + - +while element != 0: - + - + element = int(input(' ')) - + - + if element > max: - + - + max = element - + - + index_of_max = len - + - + len += 1 - + - +print(': ', index_of_max) - + - +#----------------------------------------------------- - + - + - +#task11----------------------------------------------- - +""" - + , 0. - +""" - +#num_even, :int. - +#element, :int. - +# - +num_even = -1 - + - +element = -1 - + - +while element != 0: - + - + element = int(input(' ')) - + - + if element % 2 == 0: - + - + num_even += 1 - + - +print(': ', num_even) - +#----------------------------------------------------- - + - + - +#task12----------------------------------------------- - +""" - + 0. - +, . - +""" - +#answer, :int. - +#prev, :int. - +#next, :int. - +# - +prev = int(input(' ')) - + - +answer = 0 - + - +while prev != 0: - + - + next = int(input(' ')) - + - + if next != 0 and prev < next: - + - + answer += 1 - + - + prev = next - + - +print(': ', answer) - +#----------------------------------------------------- - + - + - +#task13----------------------------------------------- - +""" - + 0. . - +, . - +""" - +#first_max, :int. - +#second_max, :int. - +#element, :int. - +# - +first_max=0 - + - +while 1==1: - + - + element=int(input(' ')) - + - + if x > first_max: - + - + second_max = first_max - + - + first_max = element - + - + elif element > second_max: - + - + second_max = element - + if element == 0: - + - + print(': ', second_max) - + - + break - +#----------------------------------------------------- - + - + - +#task14----------------------------------------------- - +""" - + 0. - +, . - +""" - +#max, :int. - +#i, :int. - +#element, :int. - +# - +max=0 - + - +i=1 - + - +while 1==1: - + - + element=int(input(' ')) - + - + if element>max: - + - + max=element - + - + i=1 - + - + elif element==max: - + - + i+=1 - + - + if element==0: - + - + print(i) - + - + break - +#----------------------------------------------------- - + - + - +#task15----------------------------------------------- - +""" - + n n- ?n. - + - + for. - +""" - +#n, :int. - +#a,b,c,i, :int. - +# - +n=int(input()) - + - +a=1 - + - +b=1 - + - +c=1 - + - +i=2 - + - +if n==0: - + print("0") - + - +else: - + - + while i Date: Thu, 1 Dec 2016 23:00:13 +0200 Subject: [PATCH 11/15] Homework_3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Цикл for --- students/km62/Parfonov_Anatolij/homework_3.py | Bin 0 -> 3474 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 students/km62/Parfonov_Anatolij/homework_3.py diff --git a/students/km62/Parfonov_Anatolij/homework_3.py b/students/km62/Parfonov_Anatolij/homework_3.py new file mode 100644 index 0000000000000000000000000000000000000000..0ff6fe9f4dd96b533a112b2f0ea80603ee883b76 GIT binary patch literal 3474 zcmd5;O>fgc5S_!Gkhmbuurx>z5>V{M#7*L~PM`$=;Wr>kA&P3MHvCrp4e;JfHnEdH z=>Za1_I}Om%&h0_o1Z^wGLsK-B~yvy>6V_`a!dB~Veg@9xvm?!fje?3`aSge&dUi# zIYuq?3-OYn*Ku!Lj5dLM?%reN5LyFBb}*l~Hr@=Q1S=7AzT=JO?K9zHbA|Tqxd^%) zXtdnPLbD5*LLNYZ-toN;DKBkEWq9b_2xDpu(K|xhb8ky4^frd4A%YZg^k~μbMN z_vm1E#y3RY;_K@uflbb)>SvDg8n^?-h?xl1Q;caN%%9^Q&*Y2x;pH9HOumC%7zd-J zKP|`eOWbR`jEv_~{X5|d*w%FI410f+4Cl+a0=)^oGkL7-g?!U~UFvh`uX2f9C;IYa zE}>t@XZZw;NSf$3(AK4^@*Wa=%*qqpopvsu7wp)Y?O)qc4wtc0J)?lHcx#@~pC!I- zlD&qsO}U#R)BE$xkARK_aK-Pwehpg<{7d4-%N=AF^Xir6Rf_!FoQ0h4Bk!JT_IV-V z4>4ZFf){2mXPMz%2FT(RI$n;^cCkXMjC56VJ1DCDfogtmRK?I0FmsMfZ~a$91*Dnv z2JD+x^skIITi}14sd2(M|vUd#09+>APq?fh>HrhZJXNTDHKzH>*Jdr=h2s!5H5xH%I*+e-e zSB4!olq2Pdk&k&Mb_y2B z*l~qto*}B=?Zdm|1)??PU*4eW_#I!vdea4(&*V@1H(ukt*)=-{)J}j_52nr3Qk6S{ z%oO)?;OR1=r*m#*T)V`d%i6TPBWS(}cd{ld@J~+nyd0n Date: Thu, 1 Dec 2016 23:14:48 +0200 Subject: [PATCH 12/15] Homework_4 While --- students/km62/Parfonov_Anatolij/homework_4.py | Bin 0 -> 17970 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 students/km62/Parfonov_Anatolij/homework_4.py diff --git a/students/km62/Parfonov_Anatolij/homework_4.py b/students/km62/Parfonov_Anatolij/homework_4.py new file mode 100644 index 0000000000000000000000000000000000000000..4a80a3f9be10e71062bee1b45fc1c3428ecab2f3 GIT binary patch literal 17970 zcmds3;j|o)Q1~_h;eTa2no(KZSm{b4h*57`$R~_m5qiR?^c>nFV8dVd0=gvv!gafsnR1ekWSf38{ zy03qSx;xNy-gm2ku5MSfJggq;$~b;HidP;~Uumqz)#tiyvKj3+l01&RAF9<*680tS zbN#zrJ*mEw4oE%;v>WKtL)|&ho$YEj-l6?Yls}0&jn(5xwHeC!PQy5yg{hvy&G`N* z{55{Q6>i0rXS&~ypS}x!REs}{XBzJ;+}7V9?CI__?8f^YUFYvrc%4bKb|%YPoQ3Xt zsh?faQ_ro974cWH$iby)Rz9ImWhq!+Q#YnFEwo<|9t@Jqd)={1frd$o3MhxsUHg$>j9PV8&8pWAdN zSU4zL~Y`qW35}Zqbn`%XVz<0+m{7ngy%+-xIw2o#r0={YYGJV>zx&k;e}5jeBN{xCPQ&PT zhS%n)cqC|T$X-e?q-W$EX+vB&)aOZTO}wx>PpTWyqElo`Nd79k4BrXIU(3RKvDGr~ z%)ReKzDLXe|Le%_audG0uQB>Seaz2te@fbbC}*>{0|u_IZ*8xMZ(Wmxz&j3P2alr_ zfzoF6FcKKSp=`r2p0)?N)>oT*vYQ9${Z?y^Ul_X?sx>VJ(NB81@0Px&&-;>0>z;aV zH^w_sFN+X(Fm{RjG~$-N;k)2=FCw(X3iCtcZOfOxlnjebI~uL0$l|_0ENjP-95LRh z)xKs9W6C2IV}mfP6^JmFzZkQ0=hxN%RTxJjO<2Vs#x&Kn{?J>pPM#ksRYAymtb+;JX7|_chDc zXc1nND~2Dy;L(nigBLK*zssA?Kfixy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C z64P#s&vub7yO*(2ZCpOLc|TLrUIBiq{+27a_q@}U(kD$%@(#;AI?@`3|A+8Q`#^*E zoY0z+Jbm%-_L$0vC}h9WyPXB)j3_JVBj;Mb%lP~{d+NHJ@kzfuYDUH837bhgyU|uf z!V5W>!&zwdvth4x`UQTAg}YCg4Y&CTXItp?MA0qxePpN8islu~damI^Q|D>4GiTNb z6>Ki4!u%tRY+S!S{&L;Xu&Gg+vDI(u%==Wm@WSODYc0>`vC|ncPG{9DGI{g{7jth) zzanw}DxrWMG_$e1z1^o>a_+f)PTTL*-@lHvj8pxRG}qQ!HD|{>nICry zW4O}Rw|=U}Wws-q-_3QW8o$2$y{q5Zq+j7)?kS*dc7C8641HGHPvyK@6QlAov@iyq zc)2soi84;8%|G|E7|#q*nhd)h`9VBRZ1ekEcBt*QF7x-PKC~j3vwp_mR5Z-RJ~_89 z*Y{Lh`lYJp{QB3Ub9ctC)Av)|TZBQ~Vqf~SI73A2w!g2VzvEx&+H%R>+i(LJ2{n=& zZD}yk*`Zt)Jg5@uE3Sd+!`aOcO(rZp12l_aZBO z?PJ+$7ikOJt&^G<%?Z?{)=MLY2 Date: Thu, 1 Dec 2016 23:17:58 +0200 Subject: [PATCH 13/15] Homework_5 Function --- students/km62/Parfonov_Anatolij/homework_5.py | Bin 0 -> 4482 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 students/km62/Parfonov_Anatolij/homework_5.py diff --git a/students/km62/Parfonov_Anatolij/homework_5.py b/students/km62/Parfonov_Anatolij/homework_5.py new file mode 100644 index 0000000000000000000000000000000000000000..4a5bb131966241bed8c7a785590d817af1054f9f GIT binary patch literal 4482 zcmd^?QBM;=5Xa|XpG$}xX6JT(JNx_Bk_@FM*Ya6vQhB25xjd6ack$o6shZdv87l{7&2;du zg{PG|em6}UEs<&9cg<{>u9JN0WE<$)!q}!*xxs8+<9VAtZzM|JBUwTF3&`z2%VDa? z%AVPUuBO>X%Q5twNgq*RY%b-4oJ;9Jon@yzg0BY{Pd`qekS)23E24sL$mqSo#pkl?VU#OrT(!r`l+d&4BIWuHr7%q~1|G*CZn}iG7>{ z<&-Ezda?6DWV3eNMFk^yO>|(SGHndz4sNXcqpGhFu&%wW7AF*eMR0- zV-udWobEU!9DQiRZ$^W}%MzC4jbY{IBL7vulR(RVN#n2=>As*fn9h{^CaLmNQ0~O= zdOGIh2}#yub<{@mD?#$y%Cqk=yz1fG=4Zqhdsg%?hskt`rzDed$ur3_USrGWtWv2y zBTSln`ntfEI8FCYW+6{TJZtd$!Tp|WU`54~BJ*t9ouafR@^24O$xCoQQjSnF&uct! zT9==rmDNk|hi9J{QU~trwSw_;kPhdd4fN3~GRLz_tCCTQgbIeWoRZDTyd9O?y*u9p z=Cm>5_})rK^E(^G;@swb>}wmF)-!&OW?M8>zK-YowDm;^8L3~{Vr8w$UD* U*21n&j!s`g1YKDjvy!KO00|QM*8l(j literal 0 HcmV?d00001 From 8097a63032ad20b64322c4917a717026b59c40e7 Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Thu, 1 Dec 2016 23:51:35 +0200 Subject: [PATCH 14/15] Homework_6 List --- students/km62/Parfonov_Anatolij/homework_6.py | Bin 0 -> 16668 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 students/km62/Parfonov_Anatolij/homework_6.py diff --git a/students/km62/Parfonov_Anatolij/homework_6.py b/students/km62/Parfonov_Anatolij/homework_6.py new file mode 100644 index 0000000000000000000000000000000000000000..299442be32f3359389e3ea31988ad586854d3c3b GIT binary patch literal 16668 zcmdU$?Qc}a6~^y}{nASPLKC&BlClt0K+~Z0+Q!Dli|tK#k%>{%en=HXl_5!M2nIo- zn18bq6lFX_8AwHi#myV`8`MtZlb@3wmn=-GVL44SW-zcs!e7WYe&`|AyV*Yv6B zc64SSIvHNAkJRZ^_rf)Yo0eRb=^;&gUSCF&5x-KW4>x$G~eqzeXeQ77;(Di zOYPS|^Y7+cwHzdhzt{bNp7zv}6%2J*lcuq3#NuudE zQjm8T*_ba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$Md6d9(xYw(qb+Id*k?@9^W@mU_IX&2*a4%zw0B&zqlg zIwQvY`EgSGE)4ERO}_Nr$kolO@Rx1<8=C`-W3TOKZ|{dDuc_NRb1mnIaDlUy($-1F zF79|U`Heq; z0zM!hrmaLR4$|^gh?;=A(RJN7+mzfz_eX2g28s8QYy>hj}kRao`~u4oqr>AL8E|sR0T|5IX^1^Wzgnn3fk*ot<$GB?QNPPJ{4!Aa|M8V zCU-(@V zScH$wi9a}F553Jbu=#z>Zi^f{YA!I7SMKawJ4SXS9jKCjdBte#6V&ZC50k!{2J*W0 zwdy$LpUr2@-zPYh^T|juk=@Jm>z~JOPH+E1&p#>$6YtAkRIH|N549>=Z`;56DI!;V z7N2A)En$u&+cxk(bN;0I@?lz0JiUH1SJWb2r5Z`hg2neN{Lg0%yMJRHmg`X5sIyKn z-(kzvy`I_f^`s?y3TobV&C#zLVHnMLfsD@PT&&87a5#w+*cEn(XKE|`wAcOSb?ZIP z<@-IIJbR^DVIGIyc*ZE#bRW3`x69+vE=FtbZqOLlF3G#2J@E-kc*@5ss@v9RSmOx# Q5NOqX!mVy^&7jBs0k^z~KmY&$ literal 0 HcmV?d00001 From 99c8b88ee77284071a0ae4809debcd65cebfcdcb Mon Sep 17 00:00:00 2001 From: Anatoliy Date: Fri, 2 Dec 2016 00:02:47 +0200 Subject: [PATCH 15/15] Homework_7 2d arrays --- students/km62/Parfonov_Anatolij/homework_7.py | Bin 0 -> 10478 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 students/km62/Parfonov_Anatolij/homework_7.py diff --git a/students/km62/Parfonov_Anatolij/homework_7.py b/students/km62/Parfonov_Anatolij/homework_7.py new file mode 100644 index 0000000000000000000000000000000000000000..e00ef38e583ef7085eaa94e61d3aff2fa99d8dd6 GIT binary patch literal 10478 zcmds-Ur!rH6vgLZpDOhwYSpJIE>Q&u4Y3^@2*k!f5)vgT9{@!aX_^WWC<3aIeE7EK zH`kY$^{$OWNuZHsuXlIuznR&4&fM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