Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. print("-------------------------")
  2. print()
  3. print(" SMILE SNAP")
  4. print()
  5. print("-------------------------")
  6. print()
  7. print()
  8. face = [[" " for a in range(4)] for b in range(2)]
  9. happy = "◕‿◕"
  10. sad = "◕︵◕"
  11. facex = 0
  12. facey = 0
  13. pictures = 10
  14. print()
  15. print(Fore.WHITE)
  16. #############################################
  17. while pictures != 0:
  18. choice = random.randint(1,2)
  19.  
  20. if choice == 1:
  21. facex += 0
  22. facey += 0
  23. face[facex][facey] = happy
  24. pictures-=1
  25.  
  26.  
  27. else:
  28. facex += 0
  29. facey += 0
  30. face[facex][facey] = sad
  31. pictures-=1
  32. #############################################
  33. choice = random.randint(1,2)
  34.  
  35. if choice == 1:
  36. facex += 0
  37. facey += 1
  38. face[facex][facey] = happy
  39. pictures-=1
  40.  
  41. else:
  42. facex += 0
  43. facey += 1
  44. face[facex][facey] = sad
  45. pictures-=1
  46. #############################################
  47. choice = random.randint(1,2)
  48.  
  49. if choice == 1:
  50. facex += 0
  51. facey += 1
  52. face[facex][facey] = happy
  53. pictures-=1
  54.  
  55. else:
  56. facex += 0
  57. facey += 1
  58. face[facex][facey] = sad
  59. pictures-=1
  60. #############################################
  61. choice = random.randint(1,2)
  62.  
  63. if choice == 1:
  64. facex += 0
  65. facey += 1
  66. face[facex][facey] = happy
  67. pictures-=1
  68.  
  69. else:
  70. facex += 0
  71. facey += 1
  72. face[facex][facey] = sad
  73. pictures-=1
  74. #############################################
  75. facey -= 3
  76. #############################################
  77. choice = random.randint(1,2)
  78.  
  79. if choice == 1:
  80. facex += 1
  81. facey += 0
  82. face[facex][facey] = happy
  83. pictures-=1
  84.  
  85. else:
  86. facex += 1
  87. facey += 0
  88. face[facex][facey] = sad
  89. pictures-=1
  90. #############################################
  91. choice = random.randint(1,2)
  92.  
  93. if choice == 1:
  94. facex += 0
  95. facey += 1
  96. face[facex][facey] = happy
  97. pictures-=1
  98.  
  99. else:
  100. facex += 0
  101. facey += 1
  102. face[facex][facey] = sad
  103. pictures-=1
  104. #############################################
  105. choice = random.randint(1,2)
  106.  
  107. if choice == 1:
  108. facex += 0
  109. facey += 1
  110. face[facex][facey] = happy
  111. pictures-=1
  112.  
  113. else:
  114. facex += 0
  115. facey += 1
  116. face[facex][facey] = sad
  117. pictures-=1
  118. #############################################
  119. choice = random.randint(1,2)
  120.  
  121. if choice == 1:
  122. facex += 0
  123. facey += 1
  124. face[facex][facey] = happy
  125. pictures-=1
  126.  
  127. else:
  128. facex += 0
  129. facey += 1
  130. face[facex][facey] = sad
  131. pictures-=1
  132. #############################################
  133.  
  134.  
  135. for r in face:
  136. print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement