{"id":1882,"date":"2020-01-18T13:44:54","date_gmt":"2020-01-18T10:44:54","guid":{"rendered":"http:\/\/itschool.ck.ua\/?p=1882"},"modified":"2020-12-02T11:08:43","modified_gmt":"2020-12-02T08:08:43","slug":"domashni-zavdannya-grupy-python-subota-14-45","status":"publish","type":"post","link":"https:\/\/itschool.ck.ua\/ru\/dzp3ru.html","title":{"rendered":"\u0414\u043e\u043c\u0430\u0448\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0433\u0440\u0443\u043f\u043f\u044b &#8220;Python&#8221;, \u0421\u0443\u0431\u0431\u043e\u0442\u0430, 14-45"},"content":{"rendered":"<p class=\"qtranxs-available-languages-message qtranxs-available-languages-message-ru\">\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u044d\u0442\u043e\u0442 \u0442\u0435\u0445\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0432 &ldquo;<a href=\"https:\/\/itschool.ck.ua\/ua\/wp-json\/wp\/v2\/posts\/1882\" class=\"qtranxs-available-language-link qtranxs-available-language-link-ua\" title=\"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430\">\u0423\u043a\u0440\u0430\u0438\u043d\u0441\u043a\u0438\u0439<\/a>&rdquo;. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.<\/p><p><\/p>\n<blockquote>\n<h2><span style=\"color: #ff0000;\">\u0423\u0412\u0410\u0413\u0410! \u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0456 \u0440\u043e\u0431\u0456\u0442\u044c \u0443 \u0432\u0438\u0433\u043b\u044f\u0434\u0456 \u0444\u0430\u0439\u043b\u0443 \u0456 \u043f\u0440\u0454\u0434\u043d\u0443\u0439\u0442\u0435 \u0446\u0435\u0439 \u0444\u0430\u0439\u043b (\u0444\u0430\u0439\u043b\u0438) \u0434\u043e \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f. \u0423 \u043f\u043e\u043b\u0456 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f \u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u043a\u043e\u0432\u043e \u0432\u043a\u0430\u0437\u0443\u0439\u0442\u0435 \u0441\u0432\u043e\u0454 \u043f\u0440\u0456\u0437\u0432\u0438\u0449\u0435.<\/span><\/h2>\n<\/blockquote>\n<h2>\u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 22 \u043b\u044e\u0442\u043e\u0433\u043e 2020\u0440.<\/h2>\n<h3 style=\"text-align: left;\"><span style=\"color: #993300;\">\u0417\u0430\u0434\u0430\u0447\u0430 \u043d\u0430 \u0443\u043c\u043e\u0432\u043d\u0438\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 IF:<\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1918 size-full\" src=\"http:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/if_1.jpg\" alt=\"\" width=\"618\" height=\"171\" srcset=\"https:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/if_1.jpg 618w, https:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/if_1-300x83.jpg 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/p>\n<h3 style=\"text-align: left;\"><span style=\"color: #993300;\">\u0417\u0430\u0434\u0430\u0447\u0430 \u043d\u0430 \u0446\u0438\u043a\u043b FOR \u0442\u0430 \u0441\u043f\u0438\u0441\u043a\u0438:<\/span><\/h3>\n<p>\u0426\u0435\u0439 \u043a\u043e\u0434 \u0440\u043e\u0437\u0434\u0440\u0443\u043a\u0443\u0454 \u0447\u0438\u0441\u043b\u0430 \u0432\u0456\u0434 <strong>0 \u0434\u043e 9<\/strong>:<\/p>\n<p><em>for i in range(10):<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 print(i)<\/em><\/p>\n<p>\u0426\u0435\u0439 \u043a\u043e\u0434 \u0437\u0430\u0434\u0430\u0441\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a <strong>my_list<\/strong> \u0456 \u0440\u043e\u0437\u0434\u0440\u0443\u043a\u0443\u0454 <strong>0<\/strong>-\u0439 \u0442\u0430 <strong>2<\/strong>-\u0439 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438 \u0441\u043f\u0438\u0441\u043a\u0443:<\/p>\n<p><em>my_list=[&#8220;\u0412\u0430\u0441\u044f&#8221;, &#8220;\u041f\u0435\u0442\u044f&#8221;, &#8220;\u0414\u0436\u043e\u043d&#8221;, &#8220;\u0413\u0430\u043b\u044f&#8221;]<\/em><br \/>\n<em>print(my_list[0])<\/em><br \/>\n<em>print(my_list[2])<\/em><\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f <\/span><\/h3>\n<p>\u0417\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0446\u0438\u043a\u043b\u0430 \u0440\u043e\u0437\u0434\u0440\u0443\u043a\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0456\u0432 \u0441\u043f\u0438\u0441\u043a\u0443 <strong>my_list<\/strong>, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434 :<\/p>\n<p>\u0412\u0430\u0441\u044f<br \/>\n\u041f\u0435\u0442\u044f<br \/>\n\u0414\u0436\u043e\u043d<br \/>\n\u0413\u0430\u043b\u044f<\/p>\n<hr \/>\n<h2>\u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 15 \u043b\u044e\u0442\u043e\u0433\u043e 2020\u0440.<\/h2>\n<p style=\"text-align: center;\"><span style=\"color: #993300;\"><strong>\u0417\u0430\u0434\u0430\u0447\u0430, \u0449\u043e \u043c\u0438 \u0440\u043e\u0431\u0438\u043b\u0438 \u043d\u0430 \u0437\u0430\u043d\u044f\u0442\u0442\u0456:<br \/>\n<\/strong><\/span><\/p>\n<p><em>a=int(input(&#8220;\u0429\u043e \u043e\u0442\u0440\u0438\u043c\u0430\u0432 \u043f\u043e \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0446\u0456?&#8221;))<\/em><br \/>\n<em>if a==10 or a==11 or a==12:<\/em><br \/>\n<em> \u00a0\u00a0\u00a0\u00a0 print(&#8220;\u0412\u0456\u0434\u043c\u0456\u043d\u043d\u043e&#8221;)<\/em><br \/>\n<em>elif a&gt;=7:<\/em><br \/>\n<em> \u00a0\u00a0\u00a0\u00a0 print(&#8220;\u0413\u0430\u0440\u043d\u043e&#8221;)<\/em><br \/>\n<em>elif a&gt;=3:<\/em><br \/>\n<em> \u00a0\u00a0\u00a0\u00a0 print(&#8220;So-So&#8221;)<\/em><br \/>\n<em>else:<\/em><br \/>\n<em> \u00a0\u00a0\u00a0\u00a0 print(&#8220;\u041d\u0435\u0437\u0434\u0430\u0440\u0430!!!&#8221;)<\/em><\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f 1<\/span><\/h3>\n<p>\u041d\u0430\u043f\u0438\u0448\u0456\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0438\u0439 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440, \u044f\u043a\u0438\u0439 \u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0432\u0432\u0435\u0441\u0442\u0438 \u0442\u0440\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f:<\/p>\n<ol>\n<li>\u043f\u0435\u0440\u0448\u0435 \u0447\u0438\u0441\u043b\u043e (\u0446\u0456\u043b\u0435);<\/li>\n<li>\u0434\u0440\u0443\u0433\u0435 \u0447\u0438\u0441\u043b\u043e (\u0446\u0456\u043b\u0435);<\/li>\n<li>\u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044e (\u0442\u0435\u043a\u0441\u0442).<\/li>\n<\/ol>\n<p>\u041f\u0456\u0441\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0437\u0430\u0441\u0442\u043e\u0441\u043e\u0432\u0443\u0454 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044e \u0434\u043e \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0445 \u0447\u0438\u0441\u043b\u0430\u0445 (&#8220;\u043f\u0435\u0440\u0448\u0435 \u0447\u0438\u0441\u043b\u043e&#8221; &#8220;\u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044f&#8221; &#8220;\u0434\u0440\u0443\u0433\u0435 \u0447\u0438\u0441\u043b\u043e&#8221;) \u0456 \u0432\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0435\u043a\u0440\u0430\u043d. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u044f\u043a\u0449\u043e \u0432\u0432\u0435\u043b\u0438<strong> 2, 5, &#8220;+&#8221;<\/strong>, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u0432\u0438\u0432\u0435\u0434\u0435 <strong>7<\/strong>.<\/p>\n<p>\u041f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0432\u0430\u043d\u0456 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0457: &#8220;+&#8221;,&#8221;-&#8220;, &#8220;\/&#8221;, &#8220;*&#8221;.<\/p>\n<p>\u042f\u043a\u0449\u043e \u0432\u0438\u043a\u043e\u043d\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u0456\u043b\u0435\u043d\u043d\u044f \u0456 \u0434\u0440\u0443\u0433\u0435 \u0447\u0438\u0441\u043b\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454 0, \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u043e \u0432\u0438\u0432\u043e\u0434\u0438\u0442\u0438 \u0440\u044f\u0434\u043e\u043a &#8220;\u0414\u0456\u043b\u0435\u043d\u043d\u044f \u043d\u0430 0!&#8221;.<\/p>\n<p>\u041f\u043e\u0447\u0430\u0442\u043e\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438 \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0442\u0430\u043a\u0438\u043c:<\/p>\n<p><strong>a=int(input(&#8220;\u041f\u0435\u0440\u0448\u0435 \u0447\u0438\u0441\u043b\u043e: &#8220;))<br \/>\n<\/strong><\/p>\n<hr \/>\n<h2>\u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 8 \u043b\u044e\u0442\u043e\u0433\u043e 2020\u0440.<\/h2>\n<p style=\"text-align: center;\"><span style=\"color: #993300;\"><strong>\u0417\u0430\u0434\u0430\u0447\u0430, \u0449\u043e \u043c\u0438 \u0440\u043e\u0431\u0438\u043b\u0438 \u043d\u0430 \u0437\u0430\u043d\u044f\u0442\u0442\u0456:<br \/>\n<\/strong><\/span><\/p>\n<p>\u0414\u0430\u043d\u043e \u0446\u0456\u043b\u0435 \u0447\u0438\u0441\u043b\u043e. \u042f\u043a\u0449\u043e \u0432\u043e\u043d\u043e \u0454 \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u0438\u043c, \u0442\u043e \u0434\u043e\u0434\u0430\u0442\u0438 \u0434\u043e \u043d\u044c\u043e\u0433\u043e 1; \u0432 \u0456\u043d\u0448\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 \u0432\u0456\u0434\u043d\u044f\u0442\u0438 \u0432\u0456\u0434 \u043d\u044c\u043e\u0433\u043e 2. \u0412\u0438\u0432\u0435\u0441\u0442\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u0435 \u0447\u0438\u0441\u043b\u043e.<br \/>\n<em><strong>a=23<\/strong><\/em><br \/>\n<em><strong>if a&gt;0:<\/strong><\/em><br \/>\n<em><strong>\u00a0\u00a0\u00a0\u00a0\u00a0a=a+1<\/strong><\/em><br \/>\n<em><strong>else:<\/strong><\/em><br \/>\n<em><strong>\u00a0\u00a0\u00a0\u00a0\u00a0a=a-2<\/strong><\/em><br \/>\n<em><strong>print( &#8220;a=&#8221;,a)<\/strong><\/em><\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f 1<\/span><\/h3>\n<p>\u0414\u0430\u043d\u043e \u0446\u0456\u043b\u0435 \u0447\u0438\u0441\u043b\u043e. \u042f\u043a\u0449\u043e \u0432\u043e\u043d\u043e \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0443\u043b\u044f, \u0442\u043e \u0434\u043e\u0434\u0430\u0442\u0438 \u0434\u043e \u043d\u044c\u043e\u0433\u043e 1; \u044f\u043a\u0449\u043e \u043c\u0435\u043d\u0448\u0435 \u043d\u0443\u043b\u044f, \u0442\u043e \u0432\u0456\u0434\u043d\u044f\u0442\u0438 \u0432\u0456\u0434 \u043d\u044c\u043e\u0433\u043e 2; \u044f\u043a\u0449\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454 \u043d\u0443\u043b\u044e, \u0442\u043e \u0437\u0430\u043c\u0456\u043d\u0438\u0442\u0438 \u0439\u043e\u0433\u043e \u043d\u0430 10. \u0412\u0438\u0432\u0435\u0441\u0442\u0438 \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u0435 \u0447\u0438\u0441\u043b\u043e.<\/p>\n<p>\u041d\u0430 \u043c\u0430\u043b\u044e\u043d\u043a\u0443 \u0431\u043b\u043e\u043a-\u0441\u0445\u0435\u043c\u0430 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u0446\u0456\u0454\u0457 \u0437\u0430\u0434\u0430\u0447\u0456:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1901\" src=\"http:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/Rysunok1-1-282x300.png\" alt=\"\" width=\"282\" height=\"300\" srcset=\"https:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/Rysunok1-1-282x300.png 282w, https:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/Rysunok1-1-768x816.png 768w, https:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/Rysunok1-1.png 887w\" sizes=\"(max-width: 282px) 100vw, 282px\" \/><\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f 2<\/span><\/h3>\n<p>\u0414\u0430\u043d\u0456 3 \u0446\u0456\u043b\u0438\u0445 \u0447\u0438\u0441\u043b\u0430 a, b \u0456 \u0441. \u0417\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0443\u043c\u043e\u0432\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0431\u0456\u043b\u044c\u0448\u0435 \u0437 \u0442\u0440\u044c\u043e\u0445 \u0434\u0430\u043d\u0438\u0445 \u0447\u0438\u0441\u0435\u043b \u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438 \u043d\u0430 5. \u0412\u0438\u0432\u0435\u0441\u0442\u0438 \u0446\u0435 \u0447\u0438\u0441\u043b\u043e.<\/p>\n<p>\u041f\u043e\u0447\u0430\u0442\u043e\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438 \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0442\u0430\u043a\u0438\u043c:<\/p>\n<p><strong>a=-23<br \/>\nb=23<br \/>\nc=13<\/strong><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2>\u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 8 \u043b\u044e\u0442\u043e\u0433\u043e 2020\u0440.<\/h2>\n<p style=\"text-align: center;\"><span style=\"color: #993300;\"><strong>\u0422\u0443\u0442 \u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438, \u0449\u043e \u043c\u0438 \u0440\u043e\u0431\u0438\u043b\u0438 \u043d\u0430 \u0437\u0430\u043d\u044f\u0442\u0442\u0456:<br \/>\n<\/strong><\/span><\/p>\n<p><em><strong>pas = <\/strong><strong>input(&#8216;\u0412\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c: &#8216;)<\/strong><\/em><\/p>\n<p><em><strong>if pas == &#8216;secret&#8217;:<\/strong><\/em><\/p>\n<p><em><strong> \u00a0 \u00a0 \u00a0 print( &#8216;OK&#8217;)<\/strong><\/em><\/p>\n<p><em><strong>else:<\/strong><\/em><\/p>\n<p><em> <strong> \u00a0 \u00a0 \u00a0 print(<\/strong><strong>&#8216;<\/strong><strong>\u041f\u0456\u0448\u043e\u0432&#8230;<\/strong><strong>&#8216;)<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f<\/span><\/h3>\n<p><strong>\u0417\u0440\u043e\u0431\u0456\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443, \u044f\u043a\u0430 \u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0432\u0432\u0435\u0441\u0442\u0438 <\/strong><b>\u0446\u0456\u043b\u0435<\/b><b> \u0447\u0438\u0441\u043b\u043e. <\/b><b>\u042f\u043a\u0449\u043e<\/b> <b>\u0432\u043e\u043d\u043e <\/b><b>\u0431\u0456\u043b\u044c\u0448\u0435 0<\/b><b>, \u0442\u043e <\/b><b>\u0434\u043e\u0434\u0430\u0442\u0438<\/b><b> \u0434\u043e <\/b><b>\u043d\u044c\u043e\u0433\u043e<\/b><b> 1; \u0432 <\/b><b>\u0456\u043d\u0448\u043e\u043c\u0443<\/b> <b>\u0432\u0438\u043f\u0430\u0434\u043a\u0443<\/b> <b>\u0432\u0456\u0434\u043d\u044f\u0442\u0438<\/b> <b>\u0432\u0456\u0434<\/b> <b>\u043d\u044c\u043e\u0433\u043e<\/b><b> 2. <\/b><b>\u0412\u0438\u0432\u0435\u0441\u0442\u0438<\/b> <b>\u043e\u0442\u0440\u0438\u043c\u0430\u043d\u0435<\/b><b> \u0447\u0438\u0441\u043b\u043e.<\/b><\/p>\n<p>\u041d\u0430 \u043c\u0430\u043b\u044e\u043d\u043a\u0443 \u0431\u043b\u043e\u043a-\u0441\u0445\u0435\u043c\u0430 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u0446\u0456\u0454\u0457 \u0437\u0430\u0434\u0430\u0447\u0456:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1894\" src=\"http:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/Rysunok1-262x300.png\" alt=\"\" width=\"262\" height=\"300\" srcset=\"https:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/Rysunok1-262x300.png 262w, https:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/Rysunok1.png 717w\" sizes=\"(max-width: 262px) 100vw, 262px\" \/><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2>\u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 18 \u0441\u0456\u0447\u043d\u044f 2020\u0440.<\/h2>\n<p style=\"text-align: center;\"><strong><span style=\"color: #993300;\">\u0426\u0456\u043d\u0443\u0439 \u0441\u0432\u0456\u0439 \u0447\u0430\u0441<\/span><\/strong><\/p>\n<p>\u041c\u0430\u0431\u0443\u0442\u044c, \u043a\u043e\u0436\u0435\u043d \u0437\u043d\u0430\u0454, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0439\u043e\u043c\u0443 \u0440\u043e\u043a\u0456\u0432. \u0411\u0430\u0433\u0430\u0442\u043e \u043c\u043e\u0436\u0443\u0442\u044c \u0441\u043a\u0430\u0437\u0430\u0442\u0438, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0439\u043e\u043c\u0443 \u043f\u043e\u0432\u043d\u0438\u0445 \u0440\u043e\u043a\u0456\u0432 \u0442\u0430 \u043c\u0456\u0441\u044f\u0446\u0456\u0432. \u0410 \u0434\u0435\u044f\u043a\u0456 \u043d\u0430\u0432\u0456\u0442\u044c \u043c\u043e\u0436\u0443\u0442\u044c \u0441\u043a\u0430\u0437\u0430\u0442\u0438, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0439\u043e\u043c\u0443 \u043f\u043e\u0432\u043d\u0438\u0445 \u0440\u043e\u043a\u0456\u0432, \u043c\u0456\u0441\u044f\u0446\u0456\u0432 \u0442\u0430 \u0434\u043d\u0456\u0432.<\/p>\n<p><strong>\u0410 \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0432\u0430\u043c \u0441\u0435\u043a\u0443\u043d\u0434?<\/strong><\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f<\/span><\/h3>\n<p><strong>\u0417\u0440\u043e\u0431\u0456\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443, \u044f\u043a\u0430 \u043f\u0438\u0442\u0430\u0454, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0432\u0430\u043c \u0440\u043e\u043a\u0456\u0432, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u043c\u0456\u0441\u044f\u0446\u0456\u0432 \u0456 \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0434\u043d\u0456\u0432, \u0430 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0456 \u043d\u0430\u043f\u0438\u0448\u0435, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0432\u0430\u043c \u0441\u0435\u043a\u0443\u043d\u0434.<\/strong><\/p>\n<hr \/>\n<h2>\u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 13 \u0441\u0456\u0447\u043d\u044f 2020\u0440.<\/h2>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f 1<\/span><\/h3>\n<p>\u041e\u0431\u0447\u0438\u0441\u043b\u0438\u0442\u0438 \u0443 Python (\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u043c\u043e\u0432\u0438) \u0442\u0430\u043a\u0438\u0439 \u0432\u0438\u0440\u0430\u0437:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1882\" src=\"http:\/\/itschool.ck.ua\/wp-content\/uploads\/2020\/01\/dz1p1-1024x293.jpg\" alt=\"\" width=\"640\" height=\"183\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #993300;\">\u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f 2<\/span><\/h3>\n<p style=\"text-align: left;\">\u0412 \u043e\u0434\u043d\u0456\u0439 \u0445\u0432\u0438\u043b\u0438\u043d\u0456 &#8211; 60 \u0441\u0435\u043a\u0443\u043d\u0434, \u0443 \u0433\u043e\u0434\u0438\u043d\u0456 &#8211; 60 \u0445\u0432\u0438\u043b\u0438\u043d, \u0443 \u0434\u043d\u0456 &#8211; 24 \u0433\u043e\u0434\u0438\u043d\u0438, \u0443 \u0440\u043e\u0446\u0456 &#8211; 365 \u0434\u043d\u0456\u0432.<\/p>\n<p><span style=\"color: #993300;\"><strong>\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043d\u0430 Python, \u044f\u043a\u0430 \u0432\u0438\u0432\u0435\u0434\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d:<\/strong><\/span><\/p>\n<ol>\n<li><strong>\u0421\u043a\u0456\u043b\u044c\u043a\u0438 \u0441\u0435\u043a\u0443\u043d\u0434 \u0443 \u0433\u043e\u0434\u0438\u043d\u0456<\/strong><\/li>\n<li><strong>\u0421\u043a\u0456\u043b\u044c\u043a\u0438 \u0441\u0435\u043a\u0443\u043d\u0434 \u0443 \u0434\u043d\u0456<\/strong><\/li>\n<li><strong>\u0421\u043a\u0456\u043b\u044c\u043a\u0438 \u0441\u0435\u043a\u0443\u043d\u0434 \u0443 \u0440\u043e\u0446\u0456<\/strong><\/li>\n<\/ol>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u044d\u0442\u043e\u0442 \u0442\u0435\u0445\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0432 &ldquo;\u0423\u043a\u0440\u0430\u0438\u043d\u0441\u043a\u0438\u0439&rdquo;. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language. \u0423\u0412\u0410\u0413\u0410! \u0412\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0456 \u0440\u043e\u0431\u0456\u0442\u044c \u0443 \u0432\u0438\u0433\u043b\u044f\u0434\u0456 \u0444\u0430\u0439\u043b\u0443 \u0456 \u043f\u0440\u0454\u0434\u043d\u0443\u0439\u0442\u0435 \u0446\u0435\u0439 \u0444\u0430\u0439\u043b (\u0444\u0430\u0439\u043b\u0438) \u0434\u043e \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f. \u0423 \u043f\u043e\u043b\u0456 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f \u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u043a\u043e\u0432\u043e \u0432\u043a\u0430\u0437\u0443\u0439\u0442\u0435 \u0441\u0432\u043e\u0454 \u043f\u0440\u0456\u0437\u0432\u0438\u0449\u0435. \u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 22 \u043b\u044e\u0442\u043e\u0433\u043e 2020\u0440. \u0417\u0430\u0434\u0430\u0447\u0430 \u043d\u0430 \u0443\u043c\u043e\u0432\u043d\u0438\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 IF: \u0417\u0430\u0434\u0430\u0447\u0430 \u043d\u0430 \u0446\u0438\u043a\u043b FOR \u0442\u0430 \u0441\u043f\u0438\u0441\u043a\u0438: \u0426\u0435\u0439 \u043a\u043e\u0434 \u0440\u043e\u0437\u0434\u0440\u0443\u043a\u0443\u0454 \u0447\u0438\u0441\u043b\u0430 \u0432\u0456\u0434 0 \u0434\u043e 9: for i in range(10): \u00a0\u00a0\u00a0\u00a0\u00a0 print(i) \u0426\u0435\u0439 \u043a\u043e\u0434 \u0437\u0430\u0434\u0430\u0441\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a my_list \u0456 \u0440\u043e\u0437\u0434\u0440\u0443\u043a\u0443\u0454 0-\u0439 \u0442\u0430 2-\u0439 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438 \u0441\u043f\u0438\u0441\u043a\u0443: my_list= print(my_list) print(my_list) \u0417\u0430\u0432\u0434\u0430\u043d\u043d\u044f \u0417\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0446\u0438\u043a\u043b\u0430 \u0440\u043e\u0437\u0434\u0440\u0443\u043a\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0456 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0456\u0432 \u0441\u043f\u0438\u0441\u043a\u0443 my_list, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434 : \u0412\u0430\u0441\u044f \u041f\u0435\u0442\u044f \u0414\u0436\u043e\u043d \u0413\u0430\u043b\u044f \u0417\u0430\u043d\u044f\u0442\u0442\u044f \u0432\u0456\u0434 15 \u043b\u044e\u0442\u043e\u0433\u043e ","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/posts\/1882"}],"collection":[{"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/comments?post=1882"}],"version-history":[{"count":1,"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/posts\/1882\/revisions"}],"predecessor-version":[{"id":2034,"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/posts\/1882\/revisions\/2034"}],"wp:attachment":[{"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/media?parent=1882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/categories?post=1882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itschool.ck.ua\/ru\/wp-json\/wp\/v2\/tags?post=1882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}