“int"对象不可下标是什么意思? [英] what does 'int' object is not subscriptable mean?
本文介绍了“int"对象不可下标是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
经过一番研究,我仍然不知道是什么
'int' 对象不可下标
意味着,所有帮助将不胜感激.
解决方案
这意味着如果 i
是一个整数,你就不能做 i[1]
>
After some research I still do not know what
'int' object is not subscriptable
means, all help will be appreciated.
解决方案
It means you can't do i[1]
if i
is an integer.
这篇关于“int"对象不可下标是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文