How to remove an item that appears multiple times in a list by Python?
<p>I am a python beginner and I am wondering how to remove an item that appears multiple times in a list by Python. Here is my list: </p>

<pre><code>["0101013132","0101410142","0101430144"]
</code></pre>

<p>The first thing I want to do is to replace all "01" by "1", the second thing is to replace"31","32" by "3" respectively and replace "41","42","43","44" by "4" respectively.</p>

<p>I have no idea how to do so. Thank you!</p>

<p>Sorry for confusion. What I want is to turn my list into this one:
["11133","11414","11414"]</p>

<pre><code>my_list = ["0101013132","0101410142","0101430144"]
normalized_list = []
for item in my_list:
    normalized_list.append(item.replace('01', '1').replace('31', '3').replace('32', '3')) # and so one...)


print(normalized_list)
</code></pre>

python