What is the best way to find the total number of each value in dictionary variable?
This is my dictionary variable.
my_dict = {
'mike':'football',
'jack':'basketball',
'tom':'basketball',
'keanu':'basketball',
'jason':'football'
}
And this is the output that i want.
Total number of each value
football : 2
basketball : 3