Untitled
unknown
python
2 years ago
165 B
16
Indexable
numero = int(input('Digite um número: '))
if numero > 0:
fatorial = 1
for item in range(1,numero +1):
fatorial = fatorial * item
print(fatorial)Editor is loading...
Leave a Comment