{"id":37829,"date":"2016-09-17T23:30:41","date_gmt":"2016-09-18T04:30:41","guid":{"rendered":"http:\/\/turtlingturtlousturtle.tumblr.com\/post\/150569378038"},"modified":"2016-09-17T23:30:41","modified_gmt":"2016-09-18T04:30:41","slug":"anna-and-else","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/anna-and-else\/","title":{"rendered":"Anna and Else"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"http:\/\/turtlingturtlousturtle.tumblr.com\/post\/150569378038\"><a href=\"http:\/\/turtlingturtlousturtle.tumblr.com\/\">Just A Turtle Coding.<\/a><\/a><\/em><br \/><\/p>\n<p>There\u2019s another part to the conditionals&hellip; the\u00a0\u201celse\u201d statement.<\/p><p>In the last program, I only knew that if the condition wasn\u2019t fulfilled, it wasn\u2019t going to run&hellip; But now I know that there\u2019s another way. If the condition isn\u2019t fulfilled, then there\u2019s something false&hellip; and what the\u00a0\u201celse\u201d statement does, is it runs only if the condition isn\u2019t fulfilled.\u00a0<\/p><figure class=\"tmblr-full\" data-orig-height=\"117\" data-orig-width=\"350\"><img src=\"http:\/\/66.media.tumblr.com\/69a7e8cbc250753f26550d65042b811f\/tumblr_inline_odon4vqyfe1ut4ewq_540.png\" data-orig-height=\"117\" data-orig-width=\"350\"\/><\/figure><p>I asked Owner some help with testing this theory. When I run the program:\u00a0<\/p><figure data-orig-height=\"31\" data-orig-width=\"159\"><img src=\"http:\/\/66.media.tumblr.com\/8913495967857ff4e62eeb6985b250a0\/tumblr_inline_odon430F5s1ut4ewq_540.png\" data-orig-height=\"31\" data-orig-width=\"159\"\/><\/figure><p>But when he runs it:<\/p><figure data-orig-height=\"28\" data-orig-width=\"148\"><img src=\"http:\/\/66.media.tumblr.com\/c63776023fdaabf647197b8c9b5e10f4\/tumblr_inline_odon53OwWs1ut4ewq_540.png\" data-orig-height=\"28\" data-orig-width=\"148\"\/><\/figure><p>This happens because the answer is not yes. Note that the else statement can\u2019t be used on its own, it has to be used after an if statement, otherwise the program doesn\u2019t know which condition isn\u2019t fulfilled.<\/p>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Just A Turtle Coding. There\u2019s another part to the conditionals&hellip; the\u00a0\u201celse\u201d statement.In the last program, I only knew that if the condition wasn\u2019t fulfilled, it wasn\u2019t going to run&hellip; But now I know that there\u2019s another way. If the condition isn\u2019t fulfilled, then there\u2019s something false&hellip; and what the\u00a0\u201celse\u201d statement does, is &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/anna-and-else\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Anna and Else<\/span><\/a><\/p>\n","protected":false},"author":37,"featured_media":37830,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[260,24,259],"class_list":["post-37829","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-i-dont-even-know","tag-python","tag-turtle-coding"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37829","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\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=37829"}],"version-history":[{"count":8,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37829\/revisions"}],"predecessor-version":[{"id":40766,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37829\/revisions\/40766"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media\/37830"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=37829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=37829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=37829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}