我在这里遇到了同样的问题,而它实际上在列表中。可能这里还有另一个错误是我的代码检查它,请:
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:
烙印99
白衣非少年
相关分类