Commit d93234ae by BellCodeEditor

save project

parent d6130788
Showing with 35 additions and 0 deletions
loading_number=3
username="python"
userpassword="123456"
while True:
name = input("请输入用户名:")
if name != username:
print("用户名错误")
loading_number-=1
print("你还可以登录:"+str(number)+"次")
if loading_number==0:
print("登录次数以到达,拒绝登录")
exit()
continue
password=input("请输入密码")
if name == username and password == userpassword:
print("登录成功!")
else:
print("密码错误")
loading_number-=1
print("你还可以登录:"+str(number)+"次")
if loading_number==0:
print("登录次数以到达,拒绝登录")
exit()
print("欢迎来到贝尔编程!")
\ No newline at end of file
import turtle
pen = turtle.Pen()
distance=1
for i in range(1000):
pen.speed(200)
pen.forward(distance)
distance+=1
pen.right(91)
turtle.done
\ 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