In python-3.X dict.values doesn’t return a list object like how it used to perform in python-2.X. In python-3.x it returns a dict-value object which is a set-like object and uses a hash table for storing its items which is not suitable for indexing. This feature, in addition to supporting most of set attributes, is very optimized for operations like membership checking (using in operator).
If you want to get a list object, you need to convert it to list by passing the result to the list() function.
the_values = dict.values()
SUM = sum(list(the_values)[1:10])