Supposed you are given a list of words from a user. Write a Python function that will print one line for each word, repe
Posted: Fri May 20, 2022 10: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, 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
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