Advertisement
tdrobotica

ejercicio estruc ciclo

Mar 14th, 2022
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. edad = int(input("¿Cuántos años tienes? "))
  2. for i in range(edad):
  3.     print("Has cumplido " + str(i+1) + " años")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement