結果 : inline for loop with if statement python