結果 : python duck typing best practices