【已解决】list indices must be integers or slices, not str

╰+哭是因爲堅強的太久メ 2021-09-07 21:58 1102阅读 0赞

list indices must be integers or slices, not str
列表索引必须是整数或片,而不是字符串
不能使用键值对取值
在这里插入图片描述

在这里插入图片描述改为
user=authenticate(username=cd[0],
password=cd[0])

发表评论

表情:
评论列表 (有 0 条评论,1102人围观)

还没有评论,来说两句吧...

相关阅读