Commit cbf93701 by BellCodeEditor

save project

parent 816d0e41
Showing with 26 additions and 10 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen() pen=turtle.Pen()
penup() turtle.write()
pen.goto(100,-100) pen.write(",\n./?;:{}=-+_\n*&^%$#@!~`\|\n)",font=("Times",30,"normal"))
pen.write("咏鹅\n鹅鹅鹅\n曲项向天歌\n白毛浮绿水\n红掌拨清波",font=("Times",13,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(7)
pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
pen1.circle(50,180) pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.hideturtle() turtle.done()
turtle.done()
\ No newline at end of file
i=3
A="123"
B="456"
while True:
if i>0:
a = input("请输入用户名:")
b = input("请输入密码:")
if A==a and B==b:
print("登录成功")
break
if A!=a:
print("用户名错误,请重新输入")
continue
if B==b:
print("密码错误,请重新输入")
else:
print("次数已用完,5秒后您的电脑将会自爆")
exit()
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