— If I have:
if this and that:
elif that and not this
Do I need to use and not this?
like if this
fails but that
doesn't fail do I still need to check for that
?
Message permanent page
— Sorry for my bad question
— No. if this :
elif that
is enough
— So
if this and that:
elif that:
— Since if that is false, this doesn't matter.
— And if this is false second gets executed
— And if both are true first one gets executed