源代码包含空值

时间:2017-07-12 19:05:06

标签: python-3.x

请帮助我,我已经编写了一段时间的python并且我有基本的知识,但是我从未遇到过这个错误,即使我已经创建了这个相同的代码而且我没有遇到任何问题。我有没有打字请帮忙。

code

1 个答案:

答案 0 :(得分:-1)

尝试将代码更改为:

print("Welcome to the gaming quiz. All of your answers in the quiz must be all lowercase, include spaces and be spelt right")
print("Question 1..")
x = input("What Call of duty was released in 2015")
if 'Black Ops III' != x:
    print("Sorry that was incorrect. Better luck next time")