When trying to add two floats together I get a “TypeError: unsupported operand type(s) for +=: 'float' and 'list'”?

后端 未结 0 1435
迷失自我
迷失自我 2020-12-03 07:22

One of the floats comes from a list, but it isn\'t a list. When I print the type it says it\'s a float.

content_based_predictions = defaultdict(lambda: defaul         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题