130k views
5 votes
Write a function called double_list that accepts a list of strings as a parameter and returns a new list that replaces every string with two of that same string. For example, if the list has the values ['how', 'are', 'you?'], the function should return the list with the values ['how', 'how', 'are', 'are', 'you?', 'you?'].

original list: ['how', 'are', 'you?']
double list: ['how', 'how', 'are', 'are', 'you?', 'you?']

User Dawid Hyzy
by
5.1k points

1 Answer

3 votes

Answer:

They are called server ancillaries

Step-by-step explanation: