結果 : write a program in python to calculate the factorial of a number using user defined function