score = 0
print(“问题”)
print(“答案a,b,c,d”)
score = input
if score == a
score =score+1
elif score == b
score = score+2
发生异常:typeerror x
can only concatenate str (not“int”)to str
file “路径”,line 8,in〈module〉
score = score +2
score = 0
print(“问题”)
print(“答案a,b,c,d”)
score = input()
if score == "a"
score =int(score)+1
elif score == "b"
score = int(score)+2
score=int(input())
另外你的abcd应该也是数字吧?