Skip to content

Commit

Permalink
Removed print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Feb 21, 2016
1 parent 1c688e6 commit c0b58de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions poem.py
Expand Up @@ -113,7 +113,6 @@ def generatePretty(self, key, seed_str):
if key == "<mushypoem>":
key = "<poem>"
poem = self.generate(key, 1)
print(poem)
poem = poem.replace(" ,", ",")
puncuation = [".", ".", ".", ".", "!", "?"]
dontbreaks = ["of", "behind", "the", "when", "what", "why", "who", ",",
Expand Down Expand Up @@ -171,7 +170,6 @@ def generatePretty(self, key, seed_str):
# if noPunc:
# poem3.append(random.choice(puncuation))

print(poem3)
newPoem = " ".join(poem3)

newPoem = newPoem.replace(" a a", " an a")
Expand Down

0 comments on commit c0b58de

Please sign in to comment.