{"id":5364,"date":"2026-05-24T18:58:04","date_gmt":"2026-05-24T09:58:04","guid":{"rendered":"https:\/\/blog2.dypg.jp\/wp\/?p=5364"},"modified":"2026-06-06T22:37:55","modified_gmt":"2026-06-06T13:37:55","slug":"lets-learn-to-code-%e3%80%90%e5%87%ba%e5%b1%8b%e6%95%b7%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e6%95%99%e5%ae%a4%e3%80%91%ef%bc%92%ef%bc%90%ef%bc%92%ef%bc%96%e5%b9%b4-18","status":"publish","type":"post","link":"https:\/\/blog2.dypg.jp\/wp\/?p=5364","title":{"rendered":"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff15\u6708\uff12\uff14\u65e5\u3010\u3064\u304b\u3057\u3093\u6388\u696d\u5831\u544a\u3011"},"content":{"rendered":"<p>\u70b9\u6ec5\u306e\u51e6\u7406\u306f\u7e70\u308a\u8fd4\u3057\u306e\u7e70\u308a\u8fd4\u3057\u3067\u51e6\u7406\u3092\u3044\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u591a\u91cd\u30eb\u30fc\u30d7\u306f\u304a\u3082\u305f\u3044\u3067\u3059\u304c\u3001\u7279\u5b9a\u306e\u7bc4\u56f2\u306e\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u3068\u304d\u306b\u529b\u3092\u767a\u63ee\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u3088\u3046\u306b\u660e\u308b\u304f\u3057\u305f\u308a\u5f8c\u6697\u304f\u3059\u308b\u3084\u3001\u53f3\u3078\u884c\u3063\u3066\u5de6\u3078\u884c\u304f\u306a\u3069\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p data-pm-slice=\"1 1 []\">The blinking effect was implemented using nested loops.<\/p>\n<p>Although nested loops can be computationally expensive, they are effective for repeating processes within a specific range.<\/p>\n<p>In the example, they were used for effects such as fading from bright to dark and moving objects from right to left.<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u56de<\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u585a\u53e3\u3055\u3093\u3055\u3093\u30bf\u30a6\u30f3\u6559\u5ba4\u3000\uff10\uff15<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u6708\uff13\uff11<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.dypg.jp\/\">\u51fa\u5c4b\u6577\u6559\u5ba4\u3000\uff10\uff16<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u6708\uff10\uff16<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukasin\/4687348\/\">\u3064\u304b\u3057\u3093\u6559\u5ba4\u3000\uff10\uff16\u6708\uff12\uff18\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/05\/IMG_8725.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5365\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/05\/IMG_8725.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff15\u6708\uff12\uff14\u65e5\u3010\u3064\u304b\u3057\u3093\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/05\/IMG_8725.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/05\/IMG_8725-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u70b9\u6ec5\u306e\u51e6\u7406\u306f\u7e70\u308a\u8fd4\u3057\u306e\u7e70\u308a\u8fd4\u3057\u3067\u51e6\u7406\u3092\u3044\u308c\u307e\u3057\u305f\u3002 \u591a\u91cd\u30eb\u30fc\u30d7\u306f\u304a\u3082\u305f\u3044\u3067\u3059\u304c\u3001\u7279\u5b9a\u306e\u7bc4\u56f2\u306e\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u3068\u304d\u306b\u529b\u3092\u767a\u63ee\u3057\u307e\u3059\u3002 \u4eca\u56de\u306e\u3088\u3046\u306b\u660e\u308b\u304f\u3057\u305f\u308a\u5f8c\u6697\u304f\u3059\u308b\u3084\u3001\u53f3\u3078\u884c\u3063\u3066\u5de6\u3078\u884c\u304f\u306a\u3069\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002 The blinking effect was implemented using nested loops. Although nested loops can be computationally expensive,<\/p>\n","protected":false},"author":1,"featured_media":5365,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,3,67,16,69],"tags":[],"class_list":["post-5364","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-73","category-3","category-67","category-16","category-69"],"_links":{"self":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5364"}],"version-history":[{"count":1,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5364\/revisions"}],"predecessor-version":[{"id":5366,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5364\/revisions\/5366"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/media\/5365"}],"wp:attachment":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}