Untitled
user_6609294
plain_text
a year ago
326 B
19
Indexable
numero = int(input('Digite um número '))
if numero > 0 :
fatorial = 1
for item in range(1,numero +1):
print('Item vale,',item)
print('Expressão Aritimética ,',item,' * ',fatorial,' = ', item * fatorial)
fatorial = fatorial * item
print('fatorial vale,',fatorial)
print(fatorial)Editor is loading...
Leave a Comment