diff options
| author | George Angelopoulos <l4than.d3vers@gmail.com> | 2013-04-18 12:42:13 +0300 |
|---|---|---|
| committer | George Angelopoulos <l4than.d3vers@gmail.com> | 2013-04-18 12:42:13 +0300 |
| commit | 83b3f0784309db0b5548596e65cd5d48b494fda8 (patch) | |
| tree | 9a912457fe455f82b5375ccd9b75f0e734fdf71d /weatbag/tiles/e2.py | |
| parent | 26abad862afefb0e6c598719545572e187fa9033 (diff) | |
PEP 8 police: Wrapped long strings to less than 80 characters
Diffstat (limited to 'weatbag/tiles/e2.py')
| -rw-r--r-- | weatbag/tiles/e2.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/weatbag/tiles/e2.py b/weatbag/tiles/e2.py index ca66475..a71ef96 100644 --- a/weatbag/tiles/e2.py +++ b/weatbag/tiles/e2.py @@ -25,7 +25,8 @@ class Tile: if do[1] == "correctly": print("You sly dog, you!") print("The dwarf hands you a torch! " - "He then suddenly vanishes, leaving behind a pile of dust.") + "He then suddenly vanishes, " + "leaving behind a pile of dust.") self.contents['unlit torch'] -= 1 player.give('unlit torch') return @@ -40,12 +41,14 @@ class Tile: print("You guessed my lucky number in %d guesses!" % (self.guess_count)) print("The dwarf hands you a torch! " - "He then suddenly vanishes, leaving behind a pile of dust.") + "He then suddenly vanishes, " + "leaving behind a pile of dust.") self.contents['unlit torch'] -= 1 player.give('unlit torch') except: print("Please try guessing a number, like 'guess 7'.") elif (do[0] in words.take): - print("You can't have my prize, you have to guess the lucky number!") + print("You can't have my prize, " + "you have to guess the lucky number!") else: print("Sorry, I don't understand.") |
