小编典典

TypeError:“NoneType”对象在 Python 中不可迭代

all

是什么TypeError: 'NoneType' object is not iterable意思?例子:

for row in data:  # Gives TypeError!
    print(row)

阅读 62

收藏
2022-07-13

共1个答案

小编典典

这意味着 的data值为None

2022-07-13