Python 3.11 : AND/OR condition

We will continue with our code here we will see the conditions and where and for that we have to do these two examples and the age is between 12 and 18 we display on the screen you are teenager if it is the age is equal to one where the age is equal to 2 we display you are baby for that we have to this the age comprised between 12 and 18 at this level before this before the age equal to 18 so I will make elif if elif age superior or equal to 12 and in English it is and inferior to 18 two points print you are teenager here that underlines because we can make differently, you can see that the age is repeated twice so we can rewrite this code like this we're going to meter 12 less than or equal to age which is less than 18 we can still write it like this, I'm going to copy this and I'm going to replace it and the and will intervene when the variables are different and for the baby I'm going to take elif age equals 1 or the or in python it's or age equals colon you're a baby and I'm going to run my code again titi how old are you? 1 14 you see that it's displayed normally, everything works, you're a baby and you're a teenager. So everything works normally and we'll see you soon for a new video on the loop.