Commit c92dd4de authored by Klaus-Uwe Mitterer's avatar Klaus-Uwe Mitterer

Add period at end of sentences

parent 1017ea9c
......@@ -3,7 +3,7 @@
import random
def runner():
print(forge)
print(forge())
def percentage():
return random.randint(0, 100)
......@@ -15,6 +15,6 @@ def readfiles(file1 = "part1.txt", file2 = "part2.txt", file3 = "part3.txt"):
def forge():
pa, pb, pc = (random.choice(i).strip() for i in readfiles())
return "%i%% %s %s %s" % (percentage(), pa, pb, pc)
return "%i%% %s %s %s." % (percentage(), pa, pb, pc)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment