Changing incorrect else if to elif.