Commit 4da459a3 by BellCodeEditor

auto save

parent ad27f730
Showing with 70 additions and 0 deletions
list_hero=['赵一',30,'丁二',37]
dict_hero={'赵一':30,'丁二':37}
print(len(list_hero))
print(len(dict_hero))
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.speed(10000000000)
pen.hideturtle()
screen=turtle.Screen()
screen.bgcolor("yellow")
answer=screen.textinput("验证:","你父亲叫什么名字")
if answer =="尤登良":
pen.pencolor("dark blue")
pen.fillcolor("dark blue")
pen.begin_fill()
pen.penup()
pen.goto(15,95)
pen.pendown()
pen.setheading(0)
pen.forward(50)
pen.right(80)
pen.forward(150)
pen.end_fill()
pen.penup()
pen.forward(-150)
pen.left(80)
pen.forward(-50)
pen.left(180)
pen.left(80)
pen.pendown()
pen.pencolor("dark blue")
pen.fillcolor("dark blue")
pen.begin_fill()
pen.forward(150)
pen.penup()
pen.setheading(0)
pen.forward(100)
pen.end_fill()
pen.pencolor("dark blue")
pen.fillcolor("dark blue")
pen.begin_fill()
pen.right(80)
pen.pendown()
pen.right(70)
pen.forward(60)
pen.right(63)
pen.forward(60)
pen.end_fill()
pen.penup()
pen.color("pink")
pen.fillcolor("pink")
pen.begin_fill()
pen.goto(-100,-100)
pen.pendown()
pen.setheading(45)
pen.forward(20)
pen.circle(10,180)
pen.right(90)
pen.circle(10,180)
pen.forward(20)
pen.end_fill()
pen.penup()
pen.goto(0,-200)
pen.color("black")
pen.write("仰望父亲,无以为报\n 唯有道一声\n 父亲,您辛苦了!",font=("楷体",20,"normal"))
turtle.done()
else:
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