nested if else program in python code example
Example: if and elif
if test expression:
Body of if
elif test expression:
Body of elif
else:
Body of else
if test expression:
Body of if
elif test expression:
Body of elif
else:
Body of else