結果 : how to do a double if statement in python