{"id":37832,"date":"2016-09-17T23:04:15","date_gmt":"2016-09-18T04:04:15","guid":{"rendered":"http:\/\/turtlingturtlousturtle.tumblr.com\/post\/150568450738"},"modified":"2016-09-17T23:04:15","modified_gmt":"2016-09-18T04:04:15","slug":"if-i-boy","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/if-i-boy\/","title":{"rendered":"If i = boy"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"http:\/\/turtlingturtlousturtle.tumblr.com\/post\/150568450738\"><a href=\"http:\/\/turtlingturtlousturtle.tumblr.com\/\">Just A Turtle Coding.<\/a><\/a><\/em><br \/><\/p>\n<p>Owner was listening to a song while he was programming and explained to me how to use conditionals. He told me that a conditional inserts a condition (whoah, big surprise) that an object has to fulfill in order to continue down a programmed pathway.\u00a0<\/p><p>Here\u2019s an example:<\/p><figure class=\"tmblr-full\" data-orig-height=\"114\" data-orig-width=\"501\"><img src=\"http:\/\/66.media.tumblr.com\/b255dd1f950aba50d227867fc139cd98\/tumblr_inline_odolr9huHW1ut4ewq_540.png\" data-orig-height=\"114\" data-orig-width=\"501\"\/><\/figure><p>What the\u00a0\u201cif\u201d statement does is that it conditions a part of the program to run only if a condition is fulfilled.\u00a0<\/p><p>If I input boy to the program, it shows what it was printed<\/p><figure class=\"tmblr-full\" data-orig-height=\"55\" data-orig-width=\"386\"><img src=\"http:\/\/68.media.tumblr.com\/dcc474aa7c29490244760e6133156780\/tumblr_inline_odoltsg3hR1ut4ewq_540.png\" data-orig-height=\"55\" data-orig-width=\"386\"\/><\/figure><p>If I input turtle to the program, it doesn\u2019t work.<\/p><figure class=\"tmblr-full\" data-orig-height=\"33\" data-orig-width=\"372\"><img src=\"http:\/\/66.media.tumblr.com\/3024a5e611a5d03ee8d6e1bc3eac4abb\/tumblr_inline_odolv1e6C21ut4ewq_540.png\" data-orig-height=\"33\" data-orig-width=\"372\"\/><\/figure><p>Here\u2019s a video that helps turtles like me learn a little bit more about the topic. &lt;3<\/p><figure class=\"tmblr-embed tmblr-full\" data-provider=\"youtube\" data-orig-width=\"540\" data-orig-height=\"304\" data-url=\"https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkMx4saqLuE8%26index%3D13%26list%3DPL_RGaFnxSHWpX_byHyTEj9hecPngl2DqR\"><iframe width=\"540\" height=\"304\" id=\"youtube_iframe\" src=\"https:\/\/www.youtube.com\/embed\/kMx4saqLuE8?feature=oembed&amp;enablejsapi=1&amp;origin=https:\/\/safe.txmblr.com&amp;wmode=opaque\" frameborder=\"0\" allowfullscreen=\"\"><\/iframe><\/figure>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Just A Turtle Coding. Owner was listening to a song while he was programming and explained to me how to use conditionals. He told me that a conditional inserts a condition (whoah, big surprise) that an object has to fulfill in order to continue down a programmed pathway.\u00a0Here\u2019s an example:What the\u00a0\u201cif\u201d statement &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/if-i-boy\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">If i = boy<\/span><\/a><\/p>\n","protected":false},"author":37,"featured_media":37833,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[260,24,33,259],"class_list":["post-37832","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-i-dont-even-know","tag-python","tag-tc101","tag-turtle-coding"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37832","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=37832"}],"version-history":[{"count":6,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37832\/revisions"}],"predecessor-version":[{"id":40767,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37832\/revisions\/40767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media\/37833"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=37832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=37832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=37832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}