Filter a List in Python With List Elements
<p>I have a following list </p>

<pre><code>list = ['Bucket1', 'ranbuck0', 'ranbuck1', 'ranbuck2', 'ranbuck3', 'ranbuck4', 'ranbuck5', 'ranbuck6', 'ranbuck7', 'ranbuck8', 'ranbuck9']
</code></pre>

<p>Is there a way to filter this list and create a new list, where I have the  elements named with "ranbuck". I am not able to figure out the way how to iterate ranbuck1, ranbuck2 a append these in a list. </p>

<p>Thanks in Advance  </p>