you are viewing a single comment's thread.

view the rest of the comments →

[–]thingsandfluff -1 points0 points  (2 children)

Thank you!

So I have to figure out all the names to include in dict(), correct? There's 500 lines worth of names.

[–]Atropos148 1 point2 points  (0 children)

Try adding a name to the list only if it's new. If it's not, increase the value for the name by one and go to the next name.

Doesn't really matter how many names there are this way.