結果 : factorial of a number function in python