syntax for else if ladder in python