L6Q1

Anonymous
plain_text
02/18/2025 5:58 PM
236 B
25
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