Posts by Adriano De Mello Rodrigues • 26 points
1 post
-
1
votes2
answers288
viewsA: Print repeated strings inside the List in Python
I made an example based on that answer: https://stackoverflow.com/questions/6294179/how-to-find-all-occurrences-of-an-element-in-a-list my_list = list("carro") indices = [i for i, x in…
pythonanswered Adriano De Mello Rodrigues 26