#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목Step_14 dictionary 멤버 갯수 unhashable type: 'list'2020-05-12 02:25
작성자

mb-file.php?path=2020%2F05%2F12%2FF1117_%EC%A7%88%EB%AC%B8.PNG


dictionary = {'red': 1, 'green': 1, 'blue': 2}

print(count_value(dictionary)) 로 실행한다고 하면 2가 나오는데 

dictionary2로 진행하니 위와 같은 에러가 납니다. 왜 이런 에러가 생길까요?

댓글