{"id":37687,"date":"2016-09-13T17:58:18","date_gmt":"2016-09-13T22:58:18","guid":{"rendered":"http:\/\/a9810blog.wordpress.com\/?p=356"},"modified":"2016-09-13T17:58:18","modified_gmt":"2016-09-13T22:58:18","slug":"if-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/if-2\/","title":{"rendered":"If"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/a9810blog.wordpress.com\/2016\/09\/13\/if\/\"><a href=\"https:\/\/a9810blog.wordpress.com\">Newbie Programmer<\/a><\/a><\/em><br \/><\/p>\n<p>First declare variables<br \/>\n<img class=\"alignnone size-full wp-image-358\" src=\"https:\/\/a9810blog.files.wordpress.com\/2016\/09\/if1.jpg?w=702\" alt=\"if1\"   \/><img class=\"alignnone size-full wp-image-359\" src=\"https:\/\/a9810blog.files.wordpress.com\/2016\/09\/if2.jpg?w=702\" alt=\"if2\"   \/><\/p>\n<p>This cant be printed, because the if only executes the action when its true.<\/p>\n<p>And now, a if that can be printed because its true.<\/p>\n<p><img class=\"alignnone size-full wp-image-360\" src=\"https:\/\/a9810blog.files.wordpress.com\/2016\/09\/if3.jpg?w=702\" alt=\"if3\"   \/><img class=\"alignnone size-full wp-image-361\" src=\"https:\/\/a9810blog.files.wordpress.com\/2016\/09\/if4.jpg?w=702\" alt=\"if4\"   \/><\/p>\n<p>You can add variables, more conditions.<\/p>\n<p><img class=\"alignnone size-full wp-image-368\" src=\"https:\/\/a9810blog.files.wordpress.com\/2016\/09\/if5.jpg?w=702\" alt=\"if5\"   \/><img class=\"alignnone size-full wp-image-369\" src=\"https:\/\/a9810blog.files.wordpress.com\/2016\/09\/if6.jpg?w=702\" alt=\"if6\"   \/><\/p>\n<p>Source: <a href=\"https:\/\/www.youtube.com\/watch?v=4u2ClNCtcgY&amp;list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M&amp;index=8\" >https:\/\/www.youtube.com\/watch?v=4u2ClNCtcgY&amp;list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M&amp;index=8<\/a><\/p>\n<p>&nbsp;<\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/a9810blog.wordpress.com\/356\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/a9810blog.wordpress.com\/356\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=a9810blog.wordpress.com&#038;blog=115241006&%23038;post=356&%23038;subd=a9810blog&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Newbie Programmer First declare variables This cant be printed, because the if only executes the action when its true. And now, a if that can be printed because its true. You can add variables, more conditions. Source: https:\/\/www.youtube.com\/watch?v=4u2ClNCtcgY&amp;list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M&amp;index=8 &nbsp;<\/p>\n","protected":false},"author":9,"featured_media":358,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[76,119,56,24,107,30],"class_list":["post-37687","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-1000awesome","tag-if","tag-newbie","tag-python","tag-tacos","tag-windows"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37687","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\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=37687"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37687\/revisions"}],"predecessor-version":[{"id":38323,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37687\/revisions\/38323"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=37687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=37687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=37687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}