Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- word= ''
- lives = 6
- def draw ():
- global lives
- if lives ==6:
- print '--------'
- print '| '
- print '| '
- print '|'
- print'|'
- print '--------'
- if lives ==5:
- print '--------'
- print '| |'
- print '| o'
- print '|/|\\'
- print'|/ '
- print '--------'
- if lives ==4:
- print '--------'
- print '| |'
- print '| o'
- print '|'
- print'|'
- print '--------'
- if lives ==3:
- print '--------'
- print '| |'
- print '| o'
- print '|/|\\'
- print'| '
- print '--------'
- if lives ==2:
- print '--------'
- print '| |'
- print '| o'
- print '|/|\\'
- print'|/ \\'
- print '--------'
- if lives ==1:
- print '--------'
- print '| |'
- print '| o'
- print '|/|\\'
- print'|/ '
- print '--------'
- if lives ==0:
- print '--------'
- print '| |'
- print '| o'
- print '|/|\\'
- print'|/ '
- print '--------'
- while True:
- draw ()
- input()
- lives -= 1
- draw ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement