Nesting of conditional statements<\/span><\/strong><\/p>\n If you want to check a condition after a previous condition that was true, then you might want to use nested\u00a0statements.<\/em><\/span><\/p>\n Example:<\/span><\/span><\/p>\n NESTED IF<\/em> CONSTRUCT<\/span><\/strong><\/p>\n In a nested\u00a0<\/span>if<\/strong>\u00a0construct, you can have an\u00a0<\/span>if…elif…else<\/strong>\u00a0construct inside another\u00a0<\/span>if…elif…else<\/strong>\u00a0construct.\u00a0<\/span>The syntax of the nested<\/span>\u00a0<\/span>if…elif…else<\/em><\/strong>\u00a0<\/span>construct may be:<\/span><\/p>\n #Mastery<\/a>18 #TC<\/a>1014<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" Nesting of conditional statements<\/span><\/strong><\/p>\n If you want to check a condition after a previous condition that was true, then you might want to use nested statements.<\/em><\/span><\/p>\n Example:<\/span><\/span><\/p>\n NESTED IF<\/em> CONSTRUCT<\/span><\/strong><\/p>\n In a nested <\/span>if<\/strong> construct, you can have an <\/span>if…elif…else<\/strong> construct inside another <\/span>if…elif…else<\/strong> construct. <\/span>The syntax of the nested<\/span> <\/span>if…elif…else<\/em><\/strong> <\/span>construct may be:<\/span><\/p>\n <\/span><\/p>\n<\/span><\/p>\n