Home  >  Article  >  Backend Development  >  Type error: Unhashable type: &#List&#

Type error: Unhashable type: &#List&#

Patricia Arquette
Patricia ArquetteOriginal
2024-10-21 20:17:03150browse

*Why cant i replace tuple with a list, If i use tuple it works *

Type error: Unhashable type:

*But not in list,why ?
*

Type error: Unhashable type:

The above is the detailed content of Type error: Unhashable type: &#List&#. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn