Python 3.9 : Condition elif

This notion is one of the most important in programming. The idea is to say that if such and such a variable has such and such a value, then do that otherwise. Condition if else: It is possible to give instructions whatever the possible choices with the keyword else elif condition: It is possible to add as many precise conditions as you want by adding the keyword elif , contraction of "else" and "if", which could be translated as "otherwise".