Guest User

Untitled

a guest
Jan 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. def contador(num):
  2. #caso base
  3. if num == 1:
  4. return num
  5. else:
  6. return contador(num)
  7.  
  8. num=int(input("Hasta que número quieres llegar ?"))
  9.  
  10. print (contador(num))
Add Comment
Please, Sign In to add comment