这一直困扰着我很长时间,我一直在制作一个程序,如果你输入某个密码,它就会简单地执行一个动作。我不断收到错误消息说“:4:''预期或“如果预期声明”请帮助!
textutils.SlowPrint("type the password")
--This is a W.I.P and it is in a basic stage!
pass = ImCool
setCursorPos.(4,5)
input.read(*)
--problem is here
if input = pass then
print("You did it"!)