daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest May 24th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top