結果 : double if condition in python