赋值的时候报错
赋值的时候报错误不知道什么原因导致 python TypeError: 'NoneType' object has no attribute '__getitem__' {:5_107:}这是把别人当作神仙了啊,代码也不放,是指望别人掐指一算算出来吗 mission在代码中是一个整形,所以不能用来索引,应该是变量类型搞错了哦 洋洋痒 发表于 2022-12-16 17:53这是把别人当作神仙了啊,代码也不放,是指望别人掐指一算算出来吗
mission = json.loads('{"Grab":{"apple_box":0,"apple_box1":0,"pear_box":1,"pear_box1":1},"l":,"r":,"box1":,"box2":,"box3":}') 清少呐 发表于 2022-12-17 16:15
mission = json.loads('{"Grab":{"apple_box":0,"apple_box1":0,"pear_box":1,"pear_box1":1},"l":, ...
全有的代码不方便放,不好意思啦
页:
[1]