Perform a string operation for every element in a Python list
<p>I have an list of string elements in python <code>elements</code> and would like edit each element in elements with so I have a new element. See code below (it doesn't work but you'll get the idea):</p>

<pre><code>for element in elements:
    element = "%" + element + "%"
</code></pre>

<p>Is there a way to do this?</p>
