結果 : java stream map equivalent in python