Answers for "get the factorial of a number on python"

0

get the factorial of a number on python

fac=1
num=6
for i in range(6,0,-1):
   fac=fac*i
   
print(fac)
Posted by: Guest on March-22-2021

Code answers related to "get the factorial of a number on python"

Python Answers by Framework

Browse Popular Code Answers by Language