目前試圖創建在遊戲中釣魚BOT和我嘗試循環結束它是運行到一個路障:[error] SyntaxError ("no viable alternative at input '<EOF>'",)
試圖在遊戲中創建一個釣魚機器人。剛開[錯誤]的SyntaxError(「在輸入‘<EOF>’沒有可行的替代方案」)
下面是代碼:
try:
if exists("1483151573805.png", 0):
type(e)
elif exists("1483151836936.png", 0):
type(q)
elif exists("1483151858883.png", 0):
type(a)
elif exists("1483151876662.png", 0):
type(c)
elif exists("1483151893311.png", 0):
type(d)
elif exists("1483151920671.png", 0):
type(w)
elif exists("1483151961233.png", 0):
type(s)
elif exists("1483151974103.png", 0):
type(x)
elif exists("1483152019157.png", 0):
type(z)
而且,這將是對這個循環的最有效的方法是什麼?
謝謝!
哪裏循環? –