Guest User

Untitled

a guest
Nov 24th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. def factorial():
  2. x=input ("Dime un numero")
  3. fact=1
  4. for cont in range (1,x+1,1):
  5. fact= fact*cont
  6. print "El factorial es", fact
  7. factorial()
Add Comment
Please, Sign In to add comment