Add period at end of sentences

This commit is contained in:
Kumi 2018-08-11 14:14:44 +02:00
parent 1017ea9c17
commit c92dd4de4b
1 changed files with 2 additions and 2 deletions

4
bot.py
View File

@ -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)