結果 : how to write factorial code in python