結果 : how to write a factorial code in python