結果 : how to do a subroutine in python