結果 : how to write pythonic code