結果 : if loop with multiple conditions python