[Solved] in python how to count how many times certain words appear without specifying the word [duplicate]
I have a solution using Counter for you: import collections data = “”” ——————————— Color: red/test/base person: latest ——————————— Color: red-img-tests person: latest ——————————— Color: red-zero-tests person: latest ——————————— Color: red-replication-tests person: latest ——————————— Color: blue person: latest ——————————— Color: black/red-config-img person: 7e778bb person: 82307b2 person: 8731770 person: 7777aae person: 081178e person: c01ba8a person: 881b1ad … Read more