Supposed you are given a list of words from a user. Write a Python function that will print one line for each word, repe

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Supposed you are given a list of words from a user. Write a Python function that will print one line for each word, repe

Post by answerhappygod »

Supposed you are given a list of words from a user. Write a
Python function that will print one line for each word, repeating
that word twice. For example, if the user entered a word list
['Ali', 'Hanan', 'Serene'], then your code would print Ali Ali
Hanan Hanan Serene Serene
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply