Guest User

Untitled

a guest
Oct 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. else: # the player dies
  2. keepFighting = 'n'
  3. print('After fighting so bravely, you sustain more wounds than any human can survive.')
  4. print('RIP ' + name + ', he managed to kill ' + str(dragonsKilled) + ' in his time')
  5. playAgain = raw_input('Play again? (yes or no)\n').lower
  6.  
  7. if playAgain == 'y' or playAgain == 'yes': # they choose to play again or quit
  8. print(1)
  9. alive = True
  10. else:
  11. print(2)
  12. alive = False
Add Comment
Please, Sign In to add comment