好的,所以我将其更改为:
if input('a'):
print ("You: Gimme a gun!")
if input('b'):
print ("You: Fine")
Run Code Online (Sandbox Code Playgroud)
但现在我没有选择,它迫使我选择 a,然后它迫使我选择 b,一旦我克服了这个障碍,我就可以完成剩下的比赛,但我真的需要帮助来解决这个问题PS我是python的菜鸟
import time
Gimme=True
Fine=True
print ("James: Ah, it looks like subject 091-266 is awake")
time.sleep(4)
print ("Scarlet: Hello, do you remember anything? The crash or anything?")
time.sleep(4)
print ("You: What.... Where am I?")
time.sleep(3)
print ("Scarlet: Oh, where are my manners, this is the head quarters of the XionRepublic, Xion")
time.sleep(5)
print ("James: You were involved in Z-9102, code named Attack-Z")
time.sleep(4)
print ("Scarlet: …Run Code Online (Sandbox Code Playgroud)