Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- x = 1
- while x == 1:
- print ("Tenemos dos caminos: ")
- print ("[1].Salir","\n[2].Continuar")
- seleccion = input("Elige uno 1/2 : ")
- sel = int(seleccion)
- if sel == 1:
- print ("Adios")
- x = 2
- elif sel == 2:
- print ("Bien seguimos en el juego")
- print ("No era un buen camino yo me voy :P ")
- x = 2
- else:
- print ("Opcion invalida intenta de nuevo: ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement