Question #94296

Write a program that will ask the user for a series of words. Then plug them into our paragraph template.

Expert's answer

paragraph_template = ''
while True:
    word = str(input('Word: '))
    paragraph_template += word + ' '
    # the program stops asking words when the user presses Enter button
    if word == '':
        break

print(paragraph_template)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS