成功解决Python中出现的TypeError: object of type 'zip' has no len()

不罗嗦,直接解决问题! 问题:TypeError: object of type 'zip' has no len() 参考国外网友回答: 解决方案:将 print(len(training_data))  改为 print(list(training_data)) 大功告成!不用谢,我叫leifeng!
相关文章
相关标签/搜索