我正在做一个必须进行测验的作业,到目前为止,这是我的代码。
print("Hello and welcome to Shahaad's quiz!") #Introduction
name = input("What is your name? ")
print("Alright", name,", these will be today's topics:")
print("a) Video Games")
print("b) Soccer")
print("c) Geography")
choice = input("Which topic would you like to begin with?")
if choice == 'video games'
print("Lets start with Video Games!")
我试图让它,如果这个人选择视频游戏作为他们的第一个主题,它会打印出最后一行,但如果选择 == '视频游戏',我一直收到错误。