sentence=input("write your Suggestion sentence") x=[] for i in sentence : if i==".": break else : x.append(i) x.append(".") print("".join(x))