結果 : python function writing best practices