Commit 1ddde2ee by BellCodeEditor

save project

parent d3a0e607
Showing with 10 additions and 23 deletions
i=3
m = "p"
n = "1"
while True:
if i>0:
a = input("请输入用户名:")
p = input("请输入密码:")
i-=1
if a == m and p == n:
print("登录成功!")
break
if a!=m:
print("傻逼,名字错误")
print("傻逼,还有:",str(i),"机会")
continue
if p!=n:
print("傻逼,密码错误")
print("傻逼,还有:",str(i),"机会")
else:
print("被冻假")
exit()
print("欢迎来到贝尔编程!")
\ No newline at end of file
import turtle
pen=turtle.Pen()
sb=1
for i in range(300):
pen.forward(sb)
pen.right(91)
sb+=1
pen.hideturtle()
pen.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