Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True: #iniciamos el bucle infinito
- entrada = raw_input("> ") #pedimos que se escriba algo
- if entrada == "adios": #si lo que se ha escrito es adios
- break #se rompe el bucle
- else: #en caso contrario
- print entrada #mostramos lo que habiamos escrito
Add Comment
Please, Sign In to add comment