Computer Science, asked by Anonymous, 5 months ago

please help me... what is code to this output? ​

Attachments:

Answers

Answered by sambhavgautam6
0

a= int(input("enter the number::"))

fact = 1

if a<0:

    print("enter positive number::")

exit

while a>0:

        a= a-1

        fact=fact*a

print("factorial is::",fact)

Similar questions