pyassistant

Triple String Concatenation

Given a list of strings, return a new list where each string is replaced by 3 copies of the string concatenated together.

Example:

Input:
['hello', 'world', 'python']
Output:
['hellohellohello', 'worldworldworld', 'pythonpythonpython']

Make sure you return your solution, don't print!

AI

Bot

Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.