Why a variable and just list results are different?

后端 未结 0 1833
滥情空心
滥情空心 2021-01-03 12:16

I have a list like this:

numlist = [1,2,3]

But, if I know if I can\'t do this: numlist += 1

because TypeError: \'in

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