Sei sulla pagina 1di 1

n=4

N=1 #variable auxiliar


i=1 #acumulador
paso=1

while i<=n:
N=N*i
i=i+paso
print N

Potrebbero piacerti anche