我在这里遇到了同样的问题,而它实际上在列表中。可能这里还有另一个错误是我的代码检查它,请:base = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
c= base.index(a)a是输入,我确保它是“o”,“k”ValueError: ['o', 'k'] is not in list另外,我不能放,因为必须完成这行,否则整个程序不起作用try:
添加回答
举报
0/150
提交
取消