Guest User

Untitled

a guest
May 24th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. while True: #iniciamos el bucle infinito
  2.     entrada = raw_input("> ") #pedimos que se escriba algo
  3.     if entrada == "adios": #si lo que se ha escrito es adios
  4.         break #se rompe el bucle
  5.     else: #en caso contrario
  6.         print entrada #mostramos lo que habiamos escrito
Add Comment
Please, Sign In to add comment