L6Q1

 avatar
unknown
plain_text
2 months ago
176 B
14
Indexable
def run():
    s = ""
    while True:
        w = input("Next word : ") 
        if w == ".":
            break
        s += w + " " 
    print(f"Sentence: {s.strip()}")
Editor is loading...
Leave a Comment