結果 : how to write a factorial program in python