multiple if statements in python example