{"id":2519,"date":"2020-04-27T15:53:17","date_gmt":"2020-04-27T14:53:17","guid":{"rendered":"http:\/\/www.ihaz.codes\/UoB\/?page_id=2519"},"modified":"2020-04-30T16:01:26","modified_gmt":"2020-04-30T15:01:26","slug":"elif-and-else","status":"publish","type":"page","link":"https:\/\/www.ihaz.codes\/UoB\/learning-python\/if-statements-2\/elif-and-else\/","title":{"rendered":"elif and else"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Learn<\/h1>\n\n\n\n<p>The final part of IF statements is to look at how we can make use of elif and else. Else allows us to do something when the condition is false. Elif allows us to daisy chain multiple if statements together<\/p><a href='https:\/\/www.ihaz.codes\/UoB\/learning-python\/if-statements-2\/elif-and-else\/'>[read more]<\/a>","protected":false},"excerpt":{"rendered":"<p>Learn The final part of IF statements is to look at how we can make use of elif and else. Else allows us to do something when the condition is false. Elif allows us to daisy chain multiple if statements together [read more]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":406,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"class_list":["post-2519","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/comments?post=2519"}],"version-history":[{"count":4,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2519\/revisions"}],"predecessor-version":[{"id":2616,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2519\/revisions\/2616"}],"up":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/406"}],"wp:attachment":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/media?parent=2519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/categories?post=2519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}