Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1.  
  2.  
  3. word= ''
  4. lives = 6
  5.  
  6. def draw ():
  7. global lives
  8. if lives ==6:
  9. print '--------'
  10. print '| '
  11. print '| '
  12. print '|'
  13. print'|'
  14. print '--------'
  15.  
  16. if lives ==5:
  17. print '--------'
  18. print '| |'
  19. print '| o'
  20. print '|/|\\'
  21. print'|/ '
  22. print '--------'
  23. if lives ==4:
  24. print '--------'
  25. print '| |'
  26. print '| o'
  27. print '|'
  28. print'|'
  29. print '--------'
  30. if lives ==3:
  31. print '--------'
  32. print '| |'
  33. print '| o'
  34. print '|/|\\'
  35. print'| '
  36. print '--------'
  37. if lives ==2:
  38. print '--------'
  39. print '| |'
  40. print '| o'
  41. print '|/|\\'
  42. print'|/ \\'
  43. print '--------'
  44. if lives ==1:
  45. print '--------'
  46. print '| |'
  47. print '| o'
  48. print '|/|\\'
  49. print'|/ '
  50. print '--------'
  51. if lives ==0:
  52. print '--------'
  53. print '| |'
  54. print '| o'
  55. print '|/|\\'
  56. print'|/ '
  57. print '--------'
  58.  
  59.  
  60.  
  61.  
  62. while True:
  63. draw ()
  64. input()
  65. lives -= 1
  66.  
  67.  
  68.  
  69.  
  70. draw ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement