結果 : inline for loop with if else python