結果 : how to write factorial program in python