Advertisement
L99

Untitled

L99
Nov 24th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import time
  2. x = 1
  3. nom = str(input("Hola. Como te llamas?"))
  4. print("Bienvenido {n}, encantado de conocerte!".format(n=nom))
  5.  
  6. hk = str(input("Quieres parecer un hacker?"))
  7. if hk == "si":
  8. while True:
  9. x = x * 2
  10. print(x)
  11. time.sleep(.03)
  12. else:
  13. print("Bueno, {n}, otra vez será...".format(n=nom))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement