Reputation: 1
I have a list of approximately 20000 strings and I want to count how often each string occurs in the list, however I don't know all the different unique strings in the list. I have tried experimenting with the list.count('string')
but without knowing all the unique strings. Is there anyway of reading the list and getting an output of all the unique strings present. Thanks for any help
Upvotes: 0
Views: 24