結果 : write a python function to calculate factorial of a number