#awesome<\/a><\/p>\nthe else conditional goes after an if conditional, when none of the conditionals above is fulfilled then the else conditon is used. for example:<\/p>\n
x = 5<\/p>\n
if x < 5:<\/p>\n
if x > 5:<\/p>\n
else:<\/p>\n
print (“it’s a 5”)<\/p>\n
the rpogram wil ignore the other conditionals since 5 is not lower or higher than 5 and will use the else.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"
#TC1014 #Mastery16 #awesomethe else conditional goes after an if conditional, when none of the conditionals above is fulfilled then the else conditon is used. for example:x = 5if x < 5:if x > 5:else: print (“it’s a 5”)the rp… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":128,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,25],"tags":[228,114,45],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/8440"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/users\/128"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=8440"}],"version-history":[{"count":8,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/8440\/revisions"}],"predecessor-version":[{"id":19421,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/8440\/revisions\/19421"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=8440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=8440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=8440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}