Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- # Primer ejemplo de un template sin menu
- while True:
- ######################
- nombre = input("Ingrese su nombre: ")
- print(f"Hola {nombre}")
- #################
- opcion = input("Presione cualquier tecla para continuar (o -1 para terminar): ")
- if opcion == "-1":
- print("Gracias por usar este programa...")
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement