From 83b3f0784309db0b5548596e65cd5d48b494fda8 Mon Sep 17 00:00:00 2001 From: George Angelopoulos Date: Thu, 18 Apr 2013 12:42:13 +0300 Subject: PEP 8 police: Wrapped long strings to less than 80 characters --- weatbag/tiles/e2.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'weatbag/tiles') 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.") -- cgit v1.3