use multiple if statements in python