【问题标题】:In this very basic code i can't figure out what's the sytax error here in line 6 is (python)在这个非常基本的代码中,我无法弄清楚第 6 行的语法错误是什么(python)
【发布时间】:2023-04-06 05:38:01
【问题描述】:

myName = input("Hey there, what's your name?")
print("Hello",myName,"!")
print("Here's a game called ''Guess my number'', in this game you will have to guess my number in 5 tips, I will think of a number between 1 and 20.")

ready = input("Are you readyyyy!?")
if ready = "yes" or "yeah" or "totally" or "hell yeah" or "yupp" or "yepp" or "uhumm" or "sure": <-- here's the problem it says, at "sure"'s 1st "-sign
    print("Let's go!")
    loop = "y"
else:
    print("I'm sorry to hear that.")
    loop "n"

可以请任何人帮助,这里的初学者。我尝试删除和添加新单词,我重新启动了程序和计算机,因为有一些明显的错误。如果我删除像“确定”这样的词,指针仍然会指向同一个确切的位置,但那里什么都没有......

【问题讨论】:

标签:
python
python-3.x
syntax-error