you can use as many elif blocks in your code as you like for exampleif the amusement park were to implement discount for seniorsyou could add one more conditional test to the code to determine whether someone qualified for the senior discount let' say that anyone or older pays half the regular admissionor $ age if age price elif age price elif age price elseprice print("your admission cost is $str(price"most of this code is unchanged the second elif block at now checks to make sure person is less than age before assigning them the full admission rate of $ notice that the value assigned in the else block at needs to be changed to $ because the only ages that make it to this block are people or older omitting the else block python does not require an else block at the end of an ifelif chain some times an else block is usefulsometimes it is clearer to use an additional elif statement that catches the specific condition of interestage if age price elif age price elif age price elif age > price print("your admission cost is $str(price"the extra elif block at assigns price of $ when the person is or olderwhich is bit clearer than the general else block with this changeevery block of code must pass specific test in order to be executed