I want to make a function that get a list, like:
['comp1', 'comp2', 'comp1', 'mycomp', 'mycomp']
And return a dictionary that the key's is the name of the computers and the values is how many times the same name\key's repeated in the list.
Like if the list get input:
["computer17", "computer6", "comp", "computer17"]
So the return is:
["computer17":"2",...]