enough to votebut this time we'll add message for anyone who is not old enough to voteage if age > print("you are old enough to vote!"print("have you registered to vote yet?" elseprint("sorryyou are too young to vote "print("please register to vote as soon as you turn !"if the conditional test at passesthe first block of indented print statements is executed if the test evaluates to falsethe else block at is executed because age is less than this timethe conditional test fails and the code in the else block is executedsorryyou are too young to vote please register to vote as soon as you turn this code works because it has only two possible situations to evaluatea person is either old enough to vote or not old enough to vote the ifelse structure works well in situations in which you want python to always execute one of two possible actions in simple if-else chain like thisone of the two actions will always be executed the if-elif-else chain oftenyou'll need to test more than two possible situationsand to evaluate these you can use python' ifelifelse syntax python executes only one block in an ifelifelse chain it runs each conditional test in order until one passes when test passesthe code following that test is executed and python skips the rest of the tests many real-world situations involve more than two possible conditions for exampleconsider an amusement park that charges different rates for different age groupsadmission for anyone under age is free admission for anyone between the ages of and is $ admission for anyone age or older is $ how can we use an if statement to determine person' admission ratethe following code tests for the age group of person and then prints an admission price messageamusement_ park py age if age print("your admission cost is $ "