Python3报错:TypeError: unsupported operand type(s) for /: 'dict_values' and 'int'
Python3报错:TypeError: unsupported operand type(s) for /: 'dict_values' and 'int'
报错原因:
-
In python3,
dict.values
returns adict_values
object, which is not alist
ortuple
.