Python error: unhashable type: 'list'
问题 I started learning Python few weeks ago (with no previous knowledge of it nor programming). I want to create a definition which will for given dictionary as an argument return a tuple consisted of two lists - one where there are only keys of dictionary, and the other where there are only values of the given dictionary. Basically the code will look like this: """Iterate over the dictionary named letters, and populate the two lists so that keys contains all the keys of the dictionary, and