Commit 987a9d17 by BellCodeEditor

save project

parent dd12a9e0
Showing with 8 additions and 13 deletions
import turtle
i=3
username="python"
userpassward="123456"
while True:
if i>0
name=input("请输入用户名:")
passward=input("请输入密码:")
i-=1
if name== username and passward==userpassward:
print("登录成功")
break
if name !=userpassward:
print()
pen=turtle.Pen()
distance=1
for i in range(300):
pen.forward(distance)
pen.right(91)
distance+=1
pen.hideturtle()
turtle.done()
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