def fatorial(n):
if n <= 1:
return 1
else:
return n * fatorial(n - 1)
I would like to know if I can consider this without recursion, I did not quite understand how recursion is and how to do a function that calculates factorial without using.