diff --git a/bug.py b/bug.py index 4c7662d..1f32e41 100644 --- a/bug.py +++ b/bug.py @@ -1,10 +1,8 @@ -# 悟空想画个六芒星魔法阵,主要的代码已写出,但这有bug,请你帮忙调试下~ -import turtle - -pen= turtle.Pen() -size=textinput("提示","你想要多大的魔法阵呀?") -pen.circle(size) -pen.circle(size,360,3) -pen.circle(size,60) -pen.circle(size,360,3) -turtle.done() +username = "LuoXu20081102" +userpassword ="123456" +name = input("账号:") +password = input("密码:") +if username == name and userpassword == password: + print("登录成功") +else: + print("登录失败") \ No newline at end of file