output = ""
something = ""
while something != "\end":
something = input("Say something: ")
if something != "\end":
output = output + something + ". "
print(output)