shaoheshaohe 发表于 2019-3-13 22:43:52

python 提示AttributeError: 'range' object has no attribute 'extend'???

listtemp=range(inistartclum,12,1)listclum.extend(listtemp)...

python3, 请使用:
listtemp=list(range(...))


页: [1]
查看完整版本: python 提示AttributeError: 'range' object has no attribute 'extend'???