結果 : factorial code in python using function