问题标签 [strerror]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
4 回答
71 浏览

python - TypeError: __str__ 在输出中返回非字符串(NoneType 类型)

我得到输出 1 2 3 1 ,但我不断收到错误 TypeError: __str__ returned non-string (type NoneType) in line 12.为什么?