Commit cbfa1d4f by BellCodeEditor

save project

parent 24bef8bc
Showing with 10 additions and 18 deletions
i=3 import turtle
userpassword="123456" pen=turtle.pen()
username="python" a=1
while True: for i in range(300):
if i>0: pen.forward(a)
a=input("请输入账号") a=a+1
b=input("请输入密码") pen.right(91)
i=i-1 pen.hideturtle()
if a==username and b==userpassword: pen.done()
print("登录成功") \ No newline at end of file
if a!=username:
print("账号错误")
print("")
if b!=userpassword:
print("错误")
else:
print("")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment