Commit f33a6142 by BellCodeEditor

save project

parent 23731294
Showing with 24 additions and 6 deletions
import turtle
screen=turtle.Screen()
screen=bgcolor("pink")
pen=turtle.pen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.write(".....",font=("times",30,"normal"))
......@@ -10,10 +10,12 @@ pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(30)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
len=screen.textinput("提示","你要爱心")
zhengshu=int(len)
pen1.forward(2*zhengshu)
pen1.circle(zhengshu,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(zhengshu,180)
pen1.forward(2*zhengshu)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
nm="Mrrk"
np="3.1415926"
while True:
nnmm=input("请输入用户名****")
pppl=input("请输入密码*&^^&*^*^&")
if nnmm==nm and pppl==np:
print("*%&%$&$#^&*%$^*")
break
if nnmm!=nm:
print("输入密码****")
continue
if pppl!=np:
print("输入用户名****&*")
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