{"id":10763,"date":"2015-08-30T16:25:00","date_gmt":"2015-08-30T16:25:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=10763"},"modified":"2015-08-30T16:25:00","modified_gmt":"2015-08-30T16:25:00","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac%ec%9d%98-for%eb%ac%b8%ea%b3%bc-%eb%b0%b0%ec%97%b4-%ec%b2%98%eb%a6%ac","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=10763","title":{"rendered":"\ud30c\uc774\uc36c\uc758 for\ubb38\uacfc \ubc30\uc5f4 \ucc98\ub9ac"},"content":{"rendered":"<div class=\"desc\">\n<div class=\"tt_article_useless_p_margin\">\n<p>\n          \ud30c\uc774\uc36c\uc758 \ubc18\ubcf5\uad6c\ubb38\uc778 for\ub294 \ubc30\uc5f4\uc744 \ucc98\ub9ac\ud558\ub294\ub370 \ub9e4\uc6b0 \uac04\ub2e8\ud55c \ubc29\ubc95\uc744 \uc81c\uacf5\ud55c\ub2e4. \uac00\ub839, ar\uc774\ub77c\ub294 \ubc30\uc5f4\uc774 \uc774\ubbf8 \uc120\uc5b8\ub418\uc5b4 \uc788\uc73c\uba74, ar\uc758 \uc6d0\uc18c\ub4e4\uc744 \ud558\ub098\ud558\ub098 \ub04c\uc5b4\uc11c \ucc98\ub9ac\ud558\ub294\ub370 \ub2e4\uc74c\uacfc \uac19\uc774 \uc4f0\uba74 \ub41c\ub2e4.\n         <\/p>\n<p>\n\n<\/p>\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: rgb(231, 253, 181); background-color: rgb(231, 253, 181); padding: 10px;\">\n<p>\n           for i in ar:\n          <\/p>\n<p>\n           myFunction(i)<br \/>\n           \n<\/p>\n<\/div>\n<p>\n\n<\/p>\n<p>\n          \ubb38\uc81c\ub294 \ub0b4\uac00 i\uac00 \uba87\ubc88\uc9f8 \uc6d0\uc18c\uc778\uc9c0 \uad73\uc774 \uc54c\uc544\uc57c\ub9cc \ud558\ub294 \uacbd\uc6b0\uc5d0 \ub098\ud0c0\ub09c\ub2e4. \ub0b4\uac00 \uc9c0\uae08 \ud478\ub294 \ubb38\uc81c\ub294 \uc804\uccb4 \uae38\uc774\uac00 N\uc778 \ubc30\uc5f4\uc5d0\uc11c k\ubc88\uc9f8 \uc6d0\uc18c\uc640 k+m\ubc88\uc9f8 \uc6d0\uc18c \uc0ac\uc774\uc5d0 \uc788\ub294 \uc6d0\uc18c\uc5d0\ub9cc \ud568\uc218\ub97c \uc801\uc6a9\ud574\uc57c \ud558\ub294 \uc0c1\ud669\uc774\uae30 \u008b\u009a\ubb38\uc5d0 \uad73\uc774 \ud544\uc694\ud558\ub2e4. \uc774 \uacbd\uc6b0, \uace0\uc804\uc801\uc778 \ubc29\ubc95\uc73c\ub85c\n         <\/p>\n<p>\n\n<\/p>\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: rgb(254, 222, 199); background-color: rgb(254, 222, 199); padding: 10px;\">\n<p>\n           for i in range(len(ar)):\n          <\/p>\n<p>\n           if i>k and i<k+m:\n           \n<\/p>\n<p>\n           myFunction(ar[i])\n          <\/p>\n<\/div>\n<p>\n\n<\/p>\n<p>\n          \uc774\ub807\uac8c \uc4f0\uba74 \ub420 \uac83\uc774\ub2e4. \ub610\ub294\n         <\/p>\n<p>\n\n<\/p>\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: rgb(219, 232, 251); background-color: rgb(219, 232, 251); padding: 10px;\">\n<p>\n           j=0\n          <\/p>\n<p>\n           for i in ar:\n          <\/p>\n<p>\n           if j>k and j<k+m:\n           \n<\/p>\n<p>\n           myFunction(ar)\n          <\/p>\n<p>\n           j+=1<br \/>\n           \n<\/p>\n<\/div>\n<p>\n\n<\/p>\n<p>\n          \uc774\ub807\uac8c \uc4f8 \uc218\ub3c4 \uc788\ub2e4. \ud558\uc9c0\ub9cc \uc774\ub807\uac8c \uc791\uc131\ud558\ub294 \uac83\uc740 \uc804\ud600 \ud30c\uc774\uc36c\uc2a4\ub7ec\uc6b4 \ucf54\ub529\uc774 \uc544\ub2c8\ub2e4. \ud30c\uc774\uc36c\ucc98\ub7fc \ucf54\ub529\ud558\ub294 \uac83\uc740 \uc81c\uc77c \ucc98\uc74c\uc5d0 \uc4f4 \ubc14\ub85c \uadf8\uac83\uc774\ub2e4. \uadf8\ub798\uc11c \uc9c0\uae08 \uc5b4\ub5bb\uac8c \ud558\uace0 \uc788\ub0d0\uace0?\n         <\/p>\n<p>\n\n<\/p>\n<div class=\"txc-textbox\" style=\"border-style: solid; border-width: 1px; border-color: rgb(238, 238, 238); background-color: rgb(238, 238, 238); padding: 10px;\">\n<p>\n           myFunction(ar[k:k+m])<br \/>\n           \n<\/p>\n<\/div>\n<p>\n\n<\/p>\n<p>\n          \uc774\ub807\uac8c \ud574\ubcf4\uace0 \uc788\ub2e4. \ubb54\uac00 \uc774\uc0c1\ud558\uc9c0\ub9cc \uc774\uc81c \ud30c\uc774\uc36c \uc2a4\ub7ec\uc6cc\uc84c\ub2e4.\n         <\/p>\n<p>\n\n<\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=3607\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ud30c\uc774\uc36c\uc758 \ubc18\ubcf5\uad6c\ubb38\uc778 for\ub294 \ubc30\uc5f4\uc744 \ucc98\ub9ac\ud558\ub294\ub370 \ub9e4\uc6b0 \uac04\ub2e8\ud55c \ubc29\ubc95\uc744 \uc81c\uacf5\ud55c\ub2e4. \uac00\ub839, ar\uc774\ub77c\ub294 \ubc30\uc5f4\uc774 \uc774\ubbf8 \uc120\uc5b8\ub418\uc5b4 \uc788\uc73c\uba74, ar\uc758 \uc6d0\uc18c\ub4e4\uc744 \ud558\ub098\ud558\ub098 \ub04c\uc5b4\uc11c \ucc98\ub9ac\ud558\ub294\ub370 \ub2e4\uc74c\uacfc \uac19\uc774 \uc4f0\uba74 \ub41c\ub2e4. for i in ar: myFunction(i) \ubb38\uc81c\ub294 \ub0b4\uac00 i\uac00 \uba87\ubc88\uc9f8 \uc6d0\uc18c\uc778\uc9c0 \uad73\uc774 \uc54c\uc544\uc57c\ub9cc \ud558\ub294 \uacbd\uc6b0\uc5d0 \ub098\ud0c0\ub09c\ub2e4. \ub0b4\uac00 \uc9c0\uae08 \ud478\ub294 \ubb38\uc81c\ub294 \uc804\uccb4 \uae38\uc774\uac00 N\uc778 \ubc30\uc5f4\uc5d0\uc11c k\ubc88\uc9f8 \uc6d0\uc18c\uc640 k+m\ubc88\uc9f8 \uc6d0\uc18c \uc0ac\uc774\uc5d0 \uc788\ub294 \uc6d0\uc18c\uc5d0\ub9cc \ud568\uc218\ub97c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-10763","post","type-post","status-publish","format-standard","hentry","category-12"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-2NB","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10763"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/10763\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10763"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}