Answer to Question #94296 in Python for hannah

Question #94296
Write a program that will ask the user for a series of words. Then plug them into our paragraph template.
1
Expert's answer
2019-09-12T04:58:40-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS