Commit c0a9b7a7 by BellCodeEditor

auto save

parent 404e6c04
Showing with 89 additions and 10 deletions
num = 9 import turtle
float_num = 3.1415926 #左手
name = "悟空"
goods = ["雪碧", "可口可乐", "咖啡"] turtle.penup()
turtle.goto(177, 112)
print(type(num)) turtle.pencolor("lightgray")
print(type(float_num)) turtle.pensize(3)
print(type(name)) turtle.fillcolor("white")
print(type(goods)) turtle.begin_fill()
\ No newline at end of file turtle.pendown()
turtle.setheading(80)
turtle.circle(-45, 200)
turtle.circle(-300, 23)
#左手内
turtle.penup()
turtle.goto(182, 95)
turtle.pencolor("black")
turtle.pensize(1)
turtle.fillcolor("black")
turtle.begin_fill()
turtle.setheading(95)
turtle.pendown()
turtle.circle(-37, 160)
turtle.circle(-20, 50)
turtle.circle(-200, 30)
#头顶
turtle.penup()
turtle.goto(-73, 230)
turtle.pencolor("lightgray")
turtle.pensize(3)
turtle.fillcolor("white")
turtle.begin_fill()
turtle.pendown()
turtle.setheading(20)
turtle.circle(-250, 35)
#左耳
turtle.setheading(50)
turtle.circle(-42, 180)
#左侧
turtle.setheading(-50)
turtle.circle(-190, 30)
turtle.circle(-320, 45)
#左腿
turtle.circle(120, 30)
turtle.circle(200, 12)
turtle.circle(-18, 85)
turtle.circle(-180, 23)
turtle.circle(-20, 110)
turtle.circle(15, 115)
turtle.circle(100, 12)
#右腿
turtle.circle(15, 120)
turtle.circle(-15, 110)
turtle.circle(-150, 30)
turtle.circle(-15, 70)
turtle.circle(-150, 10)
turtle.circle(200, 35)
turtle.circle(-150, 20)
#右手
turtle.setheading(-120)
turtle.circle(50, 30)
turtle.circle(-35, 200)
turtle.circle(-300, 23)
#右侧
turtle.setheading(86)
turtle.circle(-300, 26)
#右耳
turtle.setheading(122)
turtle.circle(-53, 160)
turtle.end_fill()
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