<分区>
所以我目前正在为我正在制作的问答游戏开发计分器。
score = 0
bolivia = str(input("Name a capital of Bolivia."))
if (bolivia == "La Paz" or "Sucre"):
print ("Correct")
score = score + 50
print (score)
else:
print ("You/re incorrect")
input ("Press enter to exit;)")
问题是,如果我得到错误的答案,它会打印出这个:
Correct
50
Press enter to exit;)
我不知道我做错了什么。感谢任何反馈。