結果 : write a python program to calculate the factorial of a given number using a while loop