結果 : how to do inline for loop python