Advertisement
Guest User

kristof

a guest
Feb 18th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. import math
  2. import time
  3. import os
  4. import random
  5.  
  6. for x in ["a", "b", "c", "d", "e", "f", "g", "h"]:
  7. if x == "a":
  8. mm = " "
  9. ww = " "
  10. if x == "b":
  11. mm = " "
  12. ww = " "
  13. if x == "c":
  14. mm = " "
  15. ww = " "
  16. if x == "d":
  17. mm = " "
  18. ww = " "
  19. if x == "e":
  20. mm = " "
  21. ww = " "
  22. if x == "f":
  23. mm = " "
  24. ww = " "
  25. if x == "g":
  26. mm = " "
  27. ww = ""
  28. if x == "h":
  29. mm = " "
  30. ww = ""
  31. if x != "h":
  32. os.system("clear")
  33. print(mm, end="")
  34. print(r"_/\__/\_:", end="")
  35. print(ww, end="")
  36. print(">--^->")
  37. time.sleep(0.3)
  38. os.system("clear")
  39. print(mm, end="")
  40. print(r"__/\_/\_:", end="")
  41. print(ww, end="")
  42. print(">--^->")
  43. time.sleep(0.3)
  44. if x == "h":
  45. os.system("clear")
  46. print(mm, end="")
  47. print("_/\__/\_:", end="")
  48. print(ww, end="")
  49. print("--^->")
  50. time.sleep(0.5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement