{"id":29923,"date":"2025-07-16T05:48:14","date_gmt":"2025-07-15T20:48:14","guid":{"rendered":"http:\/\/artnframe.co.kr\/?p=29923"},"modified":"2025-07-16T05:48:21","modified_gmt":"2025-07-15T20:48:21","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%eb%b0%98%eb%b3%b5%eb%ac%b8-for%ec%99%80-while-%ea%b5%ac%ec%a1%b0-%ec%9d%b4%ed%95%b4","status":"publish","type":"post","link":"https:\/\/artnframe.co.kr\/?p=29923","title":{"rendered":"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574"},"content":{"rendered":"<p>\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \ubc18\ubcf5\ubb38\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \ud30c\uc774\uc36c\uc5d0\uc11c\ub294 <strong>for\ubb38<\/strong>\uacfc <strong>while\ubb38<\/strong>\uc774 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ub450 \ubc18\ubcf5\ubb38\uc740 \uac01\uae30 \ub2e4\ub978 \uc0c1\ud669\uc5d0\uc11c \uc720\uc6a9\ud558\uac8c \ud65c\uc6a9\ub420 \uc218 \uc788\uc73c\uba70, \uc774 \uae00\uc5d0\uc11c\ub294 \uadf8 \ud2b9\uc9d5\uacfc \uc6a9\ub3c4, \uc0ac\uc6a9 \uc608\uc2dc\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"http:\/\/artnframe.co.kr\/wp-content\/uploads\/2025\/07\/\ud30c\uc774\uc36c\ubc18\ubcf5\ubb382.webp\" class=\"aligncenter\"><\/figure>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\ubaa9\ucc28 \ud1a0\uae00\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#for_%EB%B0%98%EB%B3%B5%EB%AC%B8\" >for \ubc18\ubcf5\ubb38<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#while_%EB%B0%98%EB%B3%B5%EB%AC%B8\" >while \ubc18\ubcf5\ubb38<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#for%EB%AC%B8%EA%B3%BC_while%EB%AC%B8_%EB%B9%84%EA%B5%90\" >for\ubb38\uacfc while\ubb38 \ube44\uad50<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#%EC%9D%91%EC%9A%A9_%EC%82%AC%EB%A1%80\" >\uc751\uc6a9 \uc0ac\ub840<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#%EA%B2%B0%EB%A1%A0\" >\uacb0\ub860<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#%EC%9E%90%EC%A3%BC_%EB%AC%BB%EB%8A%94_%EC%A7%88%EB%AC%B8%EA%B3%BC_%EB%8B%B5%EB%B3%80\" >\uc790\uc8fc \ubb3b\ub294 \uc9c8\ubb38\uacfc \ub2f5\ubcc0<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#%ED%8C%8C%EC%9D%B4%EC%8D%AC%EC%97%90%EC%84%9C_for%EB%AC%B8%EC%9D%80_%EC%96%B8%EC%A0%9C_%EC%82%AC%EC%9A%A9%ED%95%98%EB%82%98%EC%9A%94\" >\ud30c\uc774\uc36c\uc5d0\uc11c for\ubb38\uc740 \uc5b8\uc81c \uc0ac\uc6a9\ud558\ub098\uc694?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#while%EB%AC%B8%EC%9D%80_%EC%96%B4%EB%96%A4_%EC%83%81%ED%99%A9%EC%97%90%EC%84%9C_%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94_%EA%B2%83%EC%9D%B4_%EC%A2%8B%EC%9D%84%EA%B9%8C%EC%9A%94\" >while\ubb38\uc740 \uc5b4\ub5a4 \uc0c1\ud669\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \uc88b\uc744\uae4c\uc694?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/artnframe.co.kr\/?p=29923\/#for%EB%AC%B8%EA%B3%BC_while%EB%AC%B8%EC%9D%98_%EC%A3%BC%EC%9A%94_%EC%B0%A8%EC%9D%B4%EC%A0%90%EC%9D%80_%EB%AC%B4%EC%97%87%EC%9D%B8%EA%B0%80%EC%9A%94\" >for\ubb38\uacfc while\ubb38\uc758 \uc8fc\uc694 \ucc28\uc774\uc810\uc740 \ubb34\uc5c7\uc778\uac00\uc694?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"for_%EB%B0%98%EB%B3%B5%EB%AC%B8\"><\/span>for \ubc18\ubcf5\ubb38<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>for \ubc18\ubcf5\ubb38\uc740 \ud2b9\uc815\ud55c \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc57c \ud560 \uacbd\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc77c\uc815 \ubc94\uc704 \ub0b4\uc758 \uc22b\uc790\ub098 \ub9ac\uc2a4\ud2b8, \ud29c\ud50c \ub4f1\uc758 \uc694\uc18c\ub97c \uc21c\ucc28\uc801\uc73c\ub85c \ub2e4\ub8e8\uae30 \uc704\ud574\uc11c\ub294 for\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \uc801\ud569\ud569\ub2c8\ub2e4.<\/p>\n<ul>\n<li><strong>\uad6c\uc870<\/strong>: \uae30\ubcf8\uc801\uc778 \ud615\ud0dc\ub294 <code>for \ubcc0\uc218 in range(\ubc18\ubcf5\ud69f\uc218):<\/code>\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c \ubcc0\uc218\ub294 \ubc18\ubcf5\ud560 \ub54c\ub9c8\ub2e4 \uac01\uac01\uc758 \uac12\uc744 \uac00\uc9c0\uac8c \ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\uc608\uc81c<\/strong>: \ud2b9\uc815 \ubc94\uc704\uc758 \uc22b\uc790\ub97c \ucd9c\ub825\ud558\ub294 \uac04\ub2e8\ud55c \uc608\ub97c \ub4e4\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \ucf54\ub4dc\uac00 \uc788\uc744 \ub54c:<\/li>\n<\/ul>\n<pre><code>\nfor i in range(1, 6):\n  print(i)\n<\/code><\/pre>\n<p>\uc774 \ucf54\ub4dc\ub294 1\ubd80\ud130 5\uae4c\uc9c0\uc758 \uc22b\uc790\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4. \ucd9c\ub825 \uacb0\uacfc\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>\n1\n2\n3\n4\n5\n<\/code><\/pre>\n<p>\uc704\uc758 \uc608\uc81c\ucc98\ub7fc for\ubb38\uc740 \ubc18\ubcf5 \ud69f\uc218\uac00 \uba85\ud655\ud560 \ub54c \ud2b9\ud788 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \ub8e8\ud504\uc758 \ud615\ud0dc \uc911 \ud558\ub098\uc778 <code>range()<\/code> \ud568\uc218\ub294 \uc9c0\uc815\ub41c \ubc94\uc704\uc758 \uc22b\uc790\ub97c \uc0dd\uc131\ud574 \uc8fc\ub2c8, \uc774\ub97c \ud65c\uc6a9\ud558\uba74 \ub354 \uac04\uacb0\ud55c \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"while_%EB%B0%98%EB%B3%B5%EB%AC%B8\"><\/span>while \ubc18\ubcf5\ubb38<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>while \ubc18\ubcf5\ubb38\uc740 \ud2b9\uc815 \uc870\uac74\uc774 \ucc38\uc77c \ub54c \ubc18\ubcf5\ub418\ub294 \uad6c\uc870\uc785\ub2c8\ub2e4. \uc8fc\ub85c \ubc18\ubcf5 \ud69f\uc218\uac00 \uc815\ud574\uc9c0\uc9c0 \uc54a\uac70\ub098, \uc0ac\uc6a9\uc790\uac00 \ud2b9\uc815\ud55c \uc870\uac74\uc5d0 \ub530\ub77c \ubc18\ubcf5\uc744 \uc81c\uc5b4\ud574\uc57c \ud560 \ub54c \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<ul>\n<li><strong>\uad6c\uc870<\/strong>: <code>while \uc870\uac74\uc2dd:<\/code> \ud615\uc2dd\uc73c\ub85c \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc870\uac74\uc2dd\uc774 \ucc38\uc778 \ub3d9\uc548 \ubc18\ubcf5\ud558\uba70, \uc8fc\uc758\ud560 \uc810\uc740 \uc870\uac74\uc774 \uac70\uc9d3\uc774 \ub420 \ub54c\uae4c\uc9c0 \uacc4\uc18d \uc2e4\ud589\ub418\uae30 \ub54c\ubb38\uc5d0 \uc885\ub8cc \uc870\uac74\uc744 \ubc18\ub4dc\uc2dc \uc798 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc608\uc81c<\/strong>: \uc544\ub798\uc758 \ucf54\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud558\ub294 \uc22b\uc790\ub97c \ub9ac\uc2a4\ud2b8\uc5d0 \ucd94\uac00\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<pre><code>\nmy_list = []\nn = int(input(\"\uc815\uc218\ub97c \uc785\ub825\ud558\uc138\uc694 (\uc885\ub8cc\ub294 0): \"))\nwhile n != 0:\n  my_list.append(n)\n  n = int(input(\"\uc815\uc218\ub97c \uc785\ub825\ud558\uc138\uc694 (\uc885\ub8cc\ub294 0): \"))\nprint(my_list)\n<\/code><\/pre>\n<p>\uc774 \ucf54\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 0\uc744 \uc785\ub825\ud560 \ub54c\uae4c\uc9c0 \uacc4\uc18d\ud574\uc11c \uc22b\uc790\ub97c \uc785\ub825\ubc1b\uc544 \ub9ac\uc2a4\ud2b8\uc5d0 \ub2f4\ub294 \uae30\ub2a5\uc744 \ud569\ub2c8\ub2e4. \ucd5c\uc885\uc801\uc73c\ub85c \uc785\ub825\ud55c \uc22b\uc790\ub4e4\uc774 \ub9ac\uc2a4\ud2b8 \ud615\ud0dc\ub85c \ucd9c\ub825\ub429\ub2c8\ub2e4.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"for%EB%AC%B8%EA%B3%BC_while%EB%AC%B8_%EB%B9%84%EA%B5%90\"><\/span>for\ubb38\uacfc while\ubb38 \ube44\uad50<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>for\ubb38\uacfc while\ubb38\uc740 \uadf8 \uc0ac\uc6a9 \ubc29\uc2dd\uc5d0\uc11c \ucc28\uc774\uac00 \uc788\uc2b5\ub2c8\ub2e4. <strong>for<\/strong> \ubc18\ubcf5\ubb38\uc740 \ubc18\ubcf5 \ud69f\uc218\uac00 \ubbf8\ub9ac \uc815\ud574\uc838 \uc788\uc744 \ub54c, <strong>while<\/strong> \ubc18\ubcf5\ubb38\uc740 \uc870\uac74\uc774 \ucc38\uc778 \ub3d9\uc548 \uacc4\uc18d \ubc18\ubcf5\ud558\uac8c \ub429\ub2c8\ub2e4. \ub530\ub77c\uc11c \uac01\uac01\uc758 \uc0c1\ud669\uc5d0 \ub9de\uac8c \uc801\uc808\ud55c \ubc18\ubcf5\ubb38\uc744 \uc120\ud0dd\ud558\uc5ec \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%EC%9D%91%EC%9A%A9_%EC%82%AC%EB%A1%80\"><\/span>\uc751\uc6a9 \uc0ac\ub840<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c\ub294 \ubc18\ubcf5\ubb38\uc744 \ud65c\uc6a9\ud55c \ub2e4\uc591\ud55c \uc751\uc6a9 \uc0ac\ub840\uac00 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uba87 \uac00\uc9c0 \uc7ac\ubbf8\uc788\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc9dd\uc218 \ub367\uc148<\/strong>: 1\ubd80\ud130 100\uae4c\uc9c0\uc758 \uc9dd\uc218\ub97c \ub354\ud558\ub294 \ud504\ub85c\uadf8\ub7a8<\/li>\n<pre><code>\nsum_even = 0\nfor i in range(101):\n  if i % 2 == 0:\n    sum_even += i\nprint(\"1\ubd80\ud130 100\uae4c\uc9c0\uc758 \uc9dd\uc218 \ud569\uc740:\", sum_even)\n<\/code><\/pre>\n<li><strong>\uc22b\uc790 \ub9de\ucd94\uae30 \uac8c\uc784<\/strong>: \uc9c0\uc815\ud55c \uc22b\uc790\ub97c \ub9de\ucd94\ub294 \uac8c\uc784 \uad6c\uc870<\/li>\n<pre><code>\nimport random\nanswer = random.randint(1, 100)\nattempts = 10\nfor attempt in range(attempts):\n  guess = int(input(\"1\ubd80\ud130 100\uae4c\uc9c0\uc758 \uc22b\uc790\ub97c \ucd94\uce21\ud558\uc138\uc694: \"))\n  if guess == answer:\n    print(\"\uc815\ub2f5\uc785\ub2c8\ub2e4!\")\n    break\n  elif guess > answer:\n    print(\"\ub108\ubb34 \ud07d\ub2c8\ub2e4.\")\n  else:\n    print(\"\ub108\ubb34 \uc791\uc2b5\ub2c8\ub2e4.\")\nprint(\"\uac8c\uc784 \uc885\ub8cc!\")\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"http:\/\/artnframe.co.kr\/wp-content\/uploads\/2025\/07\/\ud30c\uc774\uc36c\ubc18\ubcf5\ubb383.webp\" class=\"aligncenter\"><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"%EA%B2%B0%EB%A1%A0\"><\/span>\uacb0\ub860<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \ubc18\ubcf5\ubb38\uc740 \ud544\uc218\uc801\uc778 \uc694\uc18c\ub85c, for\ubb38\uacfc while\ubb38\uc758 \uc774\ud574\uc640 \ud65c\uc6a9\uc740 \ud6a8\uacfc\uc801\uc778 \ucf54\ub4dc \uc791\uc131\uc5d0 \ud06c\uac8c \uae30\uc5ec\ud569\ub2c8\ub2e4. \uac01 \ubc18\ubcf5\ubb38\uc774 \uc81c\uacf5\ud558\ub294 \ud2b9\uc9d5\uacfc \uc6a9\ub3c4\ub97c \uc219\uc9c0\ud558\uba74 \ub2e4\uc591\ud55c \ubb38\uc81c \ud574\uacb0\uc5d0 \uc720\uc6a9\ud558\uac8c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubc18\ubcf5\ubb38\uc744 \uc798 \ud65c\uc6a9\ud558\uc5ec \ub354 \ud6a8\uc728\uc801\uc774\uace0 \uac00\ub3c5\uc131 \ub192\uc740 \ucf54\ub4dc\ub97c \uc791\uc131\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p>\uc774 \uae00\uc744 \ud1b5\ud574 \ud30c\uc774\uc36c\uc5d0\uc11c\uc758 \ubc18\ubcf5\ubb38 \uc0ac\uc6a9 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\ub294 \uc774\ud574\ub97c \ub3d5\uae30 \uc704\ud574 \ub178\ub825\ud588\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\ub3c4 \ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uc138\uacc4\uc5d0\uc11c \ub2e4\uc591\ud55c \uc9c0\uc2dd\uc744 \uc313\uc544 \uac00\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4!<\/p>\n<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%EC%9E%90%EC%A3%BC_%EB%AC%BB%EB%8A%94_%EC%A7%88%EB%AC%B8%EA%B3%BC_%EB%8B%B5%EB%B3%80\"><\/span>\uc790\uc8fc \ubb3b\ub294 \uc9c8\ubb38\uacfc \ub2f5\ubcc0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<div itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<h3 itemprop=\"name\"><span class=\"ez-toc-section\" id=\"%ED%8C%8C%EC%9D%B4%EC%8D%AC%EC%97%90%EC%84%9C_for%EB%AC%B8%EC%9D%80_%EC%96%B8%EC%A0%9C_%EC%82%AC%EC%9A%A9%ED%95%98%EB%82%98%EC%9A%94\"><\/span>\ud30c\uc774\uc36c\uc5d0\uc11c for\ubb38\uc740 \uc5b8\uc81c \uc0ac\uc6a9\ud558\ub098\uc694?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">for\ubb38\uc740 \ud2b9\uc815 \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud560 \ub54c \uc720\uc6a9\ud558\uba70, \ub9ac\uc2a4\ud2b8\ub098 \uc22b\uc790 \ubc94\uc704\ub97c \uc21c\ucc28\uc801\uc73c\ub85c \ucc98\ub9ac\ud560 \ub54c \uc801\ud569\ud569\ub2c8\ub2e4.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<div itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<h3 itemprop=\"name\"><span class=\"ez-toc-section\" id=\"while%EB%AC%B8%EC%9D%80_%EC%96%B4%EB%96%A4_%EC%83%81%ED%99%A9%EC%97%90%EC%84%9C_%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94_%EA%B2%83%EC%9D%B4_%EC%A2%8B%EC%9D%84%EA%B9%8C%EC%9A%94\"><\/span>while\ubb38\uc740 \uc5b4\ub5a4 \uc0c1\ud669\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \uc88b\uc744\uae4c\uc694?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">while\ubb38\uc740 \ubc18\ubcf5 \ud69f\uc218\uac00 \uc815\ud574\uc9c0\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0 \uc801\ud569\ud558\uba70, \ud2b9\uc815 \uc870\uac74\uc5d0 \ub530\ub77c \ubc18\ubcf5\uc744 \uc9c0\uc18d\ud574\uc57c \ud560 \ub54c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<div itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<h3 itemprop=\"name\"><span class=\"ez-toc-section\" id=\"for%EB%AC%B8%EA%B3%BC_while%EB%AC%B8%EC%9D%98_%EC%A3%BC%EC%9A%94_%EC%B0%A8%EC%9D%B4%EC%A0%90%EC%9D%80_%EB%AC%B4%EC%97%87%EC%9D%B8%EA%B0%80%EC%9A%94\"><\/span>for\ubb38\uacfc while\ubb38\uc758 \uc8fc\uc694 \ucc28\uc774\uc810\uc740 \ubb34\uc5c7\uc778\uac00\uc694?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">for\ubb38\uc740 \ubc18\ubcf5 \ud69f\uc218\uac00 \uba85\ud655\ud560 \ub54c \uc0ac\uc6a9\ud558\uace0, while\ubb38\uc740 \uc870\uac74\uc774 \ucc38\uc778 \ud55c \uacc4\uc18d \ubc18\ubcf5\ub418\ub294 \ubc29\uc2dd\uc73c\ub85c \uc791\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \ubc18\ubcf5\ubb38\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \ud30c\uc774\uc36c\uc5d0\uc11c\ub294 for\ubb38\uacfc while\ubb38\uc774 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ub450 \ubc18\ubcf5\ubb38\uc740 \uac01\uae30 \ub2e4\ub978 \uc0c1\ud669\uc5d0\uc11c \uc720\uc6a9\ud558\uac8c \ud65c\uc6a9\ub420 \uc218 \uc788\uc73c\uba70, \uc774 \uae00\uc5d0\uc11c\ub294 \uadf8 \ud2b9\uc9d5\uacfc \uc6a9\ub3c4, \uc0ac\uc6a9 \uc608\uc2dc\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. for \ubc18\ubcf5\ubb38 for \ubc18\ubcf5\ubb38\uc740 \ud2b9\uc815\ud55c \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc57c \ud560 \uacbd\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc77c\uc815 \ubc94\uc704 \ub0b4\uc758 \uc22b\uc790\ub098 \ub9ac\uc2a4\ud2b8, \ud29c\ud50c \ub4f1\uc758 \uc694\uc18c\ub97c \uc21c\ucc28\uc801\uc73c\ub85c \ub2e4\ub8e8\uae30 \uc704\ud574\uc11c\ub294 for\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 &#8230; <a title=\"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574\" class=\"read-more\" href=\"https:\/\/artnframe.co.kr\/?p=29923\" aria-label=\"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574\uc5d0 \ub300\ud574 \ub354 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc138\uc694\">\ub354 \uc77d\uae30<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-29923","post","type-post","status-publish","format-standard","hentry","category-life"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574 - \uc544\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/artnframe.co.kr\/?p=29923\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574 - \uc544\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \ubc18\ubcf5\ubb38\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \ud30c\uc774\uc36c\uc5d0\uc11c\ub294 for\ubb38\uacfc while\ubb38\uc774 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ub450 \ubc18\ubcf5\ubb38\uc740 \uac01\uae30 \ub2e4\ub978 \uc0c1\ud669\uc5d0\uc11c \uc720\uc6a9\ud558\uac8c \ud65c\uc6a9\ub420 \uc218 \uc788\uc73c\uba70, \uc774 \uae00\uc5d0\uc11c\ub294 \uadf8 \ud2b9\uc9d5\uacfc \uc6a9\ub3c4, \uc0ac\uc6a9 \uc608\uc2dc\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. for \ubc18\ubcf5\ubb38 for \ubc18\ubcf5\ubb38\uc740 \ud2b9\uc815\ud55c \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc57c \ud560 \uacbd\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc77c\uc815 \ubc94\uc704 \ub0b4\uc758 \uc22b\uc790\ub098 \ub9ac\uc2a4\ud2b8, \ud29c\ud50c \ub4f1\uc758 \uc694\uc18c\ub97c \uc21c\ucc28\uc801\uc73c\ub85c \ub2e4\ub8e8\uae30 \uc704\ud574\uc11c\ub294 for\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 ... \ub354 \uc77d\uae30\" \/>\n<meta property=\"og:url\" content=\"http:\/\/artnframe.co.kr\/?p=29923\" \/>\n<meta property=\"og:site_name\" content=\"\uc544\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-15T20:48:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-15T20:48:21+00:00\" \/>\n<meta name=\"author\" content=\"artnframe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"artnframe\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/artnframe.co.kr\/?p=29923#article\",\"isPartOf\":{\"@id\":\"http:\/\/artnframe.co.kr\/?p=29923\"},\"author\":{\"name\":\"artnframe\",\"@id\":\"https:\/\/artnframe.co.kr\/#\/schema\/person\/b7b11099969326f1a16f635a90847537\"},\"headline\":\"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574\",\"datePublished\":\"2025-07-15T20:48:14+00:00\",\"dateModified\":\"2025-07-15T20:48:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/artnframe.co.kr\/?p=29923\"},\"wordCount\":26,\"commentCount\":0,\"articleSection\":[\"\uc0dd\ud65c\uc815\ubcf4\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/artnframe.co.kr\/?p=29923#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/artnframe.co.kr\/?p=29923\",\"url\":\"http:\/\/artnframe.co.kr\/?p=29923\",\"name\":\"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574 - \uc544\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/artnframe.co.kr\/#website\"},\"datePublished\":\"2025-07-15T20:48:14+00:00\",\"dateModified\":\"2025-07-15T20:48:21+00:00\",\"author\":{\"@id\":\"https:\/\/artnframe.co.kr\/#\/schema\/person\/b7b11099969326f1a16f635a90847537\"},\"breadcrumb\":{\"@id\":\"http:\/\/artnframe.co.kr\/?p=29923#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/artnframe.co.kr\/?p=29923\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/artnframe.co.kr\/?p=29923#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/artnframe.co.kr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/artnframe.co.kr\/#website\",\"url\":\"https:\/\/artnframe.co.kr\/\",\"name\":\"\uc544\ud2b8\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/artnframe.co.kr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/artnframe.co.kr\/#\/schema\/person\/b7b11099969326f1a16f635a90847537\",\"name\":\"artnframe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/artnframe.co.kr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/757251af6732a75c676ec5adb8706c05?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/757251af6732a75c676ec5adb8706c05?s=96&d=mm&r=g\",\"caption\":\"artnframe\"},\"url\":\"https:\/\/artnframe.co.kr\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574 - \uc544\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/artnframe.co.kr\/?p=29923","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574 - \uc544\ud2b8","og_description":"\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \ubc18\ubcf5\ubb38\uc740 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ud2b9\ud788, \ud30c\uc774\uc36c\uc5d0\uc11c\ub294 for\ubb38\uacfc while\ubb38\uc774 \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ub450 \ubc18\ubcf5\ubb38\uc740 \uac01\uae30 \ub2e4\ub978 \uc0c1\ud669\uc5d0\uc11c \uc720\uc6a9\ud558\uac8c \ud65c\uc6a9\ub420 \uc218 \uc788\uc73c\uba70, \uc774 \uae00\uc5d0\uc11c\ub294 \uadf8 \ud2b9\uc9d5\uacfc \uc6a9\ub3c4, \uc0ac\uc6a9 \uc608\uc2dc\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. for \ubc18\ubcf5\ubb38 for \ubc18\ubcf5\ubb38\uc740 \ud2b9\uc815\ud55c \ud69f\uc218\ub9cc\ud07c \ubc18\ubcf5\ud574\uc57c \ud560 \uacbd\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc77c\uc815 \ubc94\uc704 \ub0b4\uc758 \uc22b\uc790\ub098 \ub9ac\uc2a4\ud2b8, \ud29c\ud50c \ub4f1\uc758 \uc694\uc18c\ub97c \uc21c\ucc28\uc801\uc73c\ub85c \ub2e4\ub8e8\uae30 \uc704\ud574\uc11c\ub294 for\ubb38\uc744 \uc0ac\uc6a9\ud558\ub294 ... \ub354 \uc77d\uae30","og_url":"http:\/\/artnframe.co.kr\/?p=29923","og_site_name":"\uc544\ud2b8","article_published_time":"2025-07-15T20:48:14+00:00","article_modified_time":"2025-07-15T20:48:21+00:00","author":"artnframe","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"artnframe"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/artnframe.co.kr\/?p=29923#article","isPartOf":{"@id":"http:\/\/artnframe.co.kr\/?p=29923"},"author":{"name":"artnframe","@id":"https:\/\/artnframe.co.kr\/#\/schema\/person\/b7b11099969326f1a16f635a90847537"},"headline":"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574","datePublished":"2025-07-15T20:48:14+00:00","dateModified":"2025-07-15T20:48:21+00:00","mainEntityOfPage":{"@id":"http:\/\/artnframe.co.kr\/?p=29923"},"wordCount":26,"commentCount":0,"articleSection":["\uc0dd\ud65c\uc815\ubcf4"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/artnframe.co.kr\/?p=29923#respond"]}]},{"@type":"WebPage","@id":"http:\/\/artnframe.co.kr\/?p=29923","url":"http:\/\/artnframe.co.kr\/?p=29923","name":"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574 - \uc544\ud2b8","isPartOf":{"@id":"https:\/\/artnframe.co.kr\/#website"},"datePublished":"2025-07-15T20:48:14+00:00","dateModified":"2025-07-15T20:48:21+00:00","author":{"@id":"https:\/\/artnframe.co.kr\/#\/schema\/person\/b7b11099969326f1a16f635a90847537"},"breadcrumb":{"@id":"http:\/\/artnframe.co.kr\/?p=29923#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["http:\/\/artnframe.co.kr\/?p=29923"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/artnframe.co.kr\/?p=29923#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/artnframe.co.kr\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\uc36c \ubc18\ubcf5\ubb38 for\uc640 while \uad6c\uc870 \uc774\ud574"}]},{"@type":"WebSite","@id":"https:\/\/artnframe.co.kr\/#website","url":"https:\/\/artnframe.co.kr\/","name":"\uc544\ud2b8","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/artnframe.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/artnframe.co.kr\/#\/schema\/person\/b7b11099969326f1a16f635a90847537","name":"artnframe","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/artnframe.co.kr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/757251af6732a75c676ec5adb8706c05?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/757251af6732a75c676ec5adb8706c05?s=96&d=mm&r=g","caption":"artnframe"},"url":"https:\/\/artnframe.co.kr\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/29923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29923"}],"version-history":[{"count":1,"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/29923\/revisions"}],"predecessor-version":[{"id":29924,"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/29923\/revisions\/29924"}],"wp:attachment":[{"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artnframe.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}