結果 : for loop with two conditions python