Untitled
Anonymous
Python
08/13/2024 12:07 AM
165 B
23
Indexable
Never
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