結果 : python best practices for writing functions