結果 : how to write map function in python