{"id":38125,"date":"2016-10-23T10:04:59","date_gmt":"2016-10-23T15:04:59","guid":{"rendered":"http:\/\/101fortec.wordpress.com\/?p=424"},"modified":"2016-10-23T10:04:59","modified_gmt":"2016-10-23T15:04:59","slug":"soyoure-into-this","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/soyoure-into-this\/","title":{"rendered":"So\u2026you\u00b4re into this?"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/101fortec.wordpress.com\/2016\/10\/23\/so-youre-into-this\/\"><a href=\"https:\/\/101fortec.wordpress.com\">101 For Tec<\/a><\/a><\/em><br \/><\/p>\n<p>Nested loops \u00bfwhat are they? A <i class=\"FIRSTTERM\">nested loop<\/i> is a loop within a loop, an inner loop within the body of an outer one. Is possible to realize this with all the different types of loops, with for\u00b4s, here is the basic structure:<br \/>\n<img class=\"alignnone size-full wp-image-439\" src=\"https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested_for_syntax.png?w=636\" alt=\"nested_for_syntax\" srcset=\"https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested_for_syntax.png 313w, https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested_for_syntax.png?w=150 150w, https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested_for_syntax.png?w=300 300w\" sizes=\"(max-width: 313px) 100vw, 313px\"   \/><\/p>\n<p>also with while&#8217;s<\/p>\n<p><img class=\"alignnone size-full wp-image-438\" src=\"https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested_while_syntax.png?w=636\" alt=\"nested_while_syntax\" srcset=\"https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested_while_syntax.png 212w, https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested_while_syntax.png?w=150 150w\" sizes=\"(max-width: 212px) 100vw, 212px\"   \/><\/p>\n<p>with if else, and also combining them.<\/p>\n<p>Here is one example of what you can do with nested loops:<\/p>\n<p><img class=\"alignnone size-full wp-image-446\" src=\"https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested.png?w=636\" alt=\"nested.PNG\" srcset=\"https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested.png 562w, https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested.png?w=150 150w, https:\/\/101fortec.files.wordpress.com\/2016\/10\/nested.png?w=300 300w\" sizes=\"(max-width: 562px) 100vw, 562px\"   \/><\/p>\n<p>References:<\/p>\n<p><a href=\"https:\/\/www.tutorialspoint.com\/python3\/python_nested_loops.htm\" rel=\"nofollow\">https:\/\/www.tutorialspoint.com\/python3\/python_nested_loops.htm<\/a><\/p>\n<p><a href=\"http:\/\/tldp.org\/LDP\/abs\/html\/nestedloops.html\" rel=\"nofollow\">http:\/\/tldp.org\/LDP\/abs\/html\/nestedloops.html<\/a><\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/101fortec.wordpress.com\/424\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/101fortec.wordpress.com\/424\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=101fortec.wordpress.com&#038;blog=115376587&%23038;post=424&%23038;subd=101fortec&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at 101 For Tec Nested loops \u00bfwhat are they? A nested loop is a loop within a loop, an inner loop within the body of an outer one. Is possible to realize this with all the different types of loops, with for\u00b4s, here is the basic structure: also with while&#8217;s with if else, &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/soyoure-into-this\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">So\u2026you\u00b4re into this?<\/span><\/a><\/p>\n","protected":false},"author":31,"featured_media":439,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[161,209,162,287,102],"class_list":["post-38125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-101fortec","tag-abosaurio","tag-fantasmita","tag-fruit-loops","tag-python-101"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=38125"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38125\/revisions"}],"predecessor-version":[{"id":38126,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38125\/revisions\/38126"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=38125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=38125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=38125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}