結果 : how to code a factorial function in python