Commit fff76941 by BellCodeEditor

save project

parent eceee3b0
Showing with 31 additions and 0 deletions
import turtle
pen=turtle.Pen ()
distance=1
for i in range(800):
pen.forward(distance)
distance+=1
pen.right(92)
turtle.done()
i=3
username="python"
userpassword="annie123456789yy"
while True:
if i>0:
name=input("请写录用户名")
password=input("请写录密码")
i-=1
if name==username and password==userpassword:
print("OK")
break
if name!=username
print("用户名xx请写录重写用户名")
print("你还有"+str(i)+"次")
if name==username and password==userpassword:
print("密码xx请写录重写密码")
print("你还有"+str(i)+"次")
else:
print("锁定")
exit()
print("dkfkhfjshjvbdj")
\ 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