Commit 6ff3834f by BellCodeEditor

save project

parent 90d2c7e4
Showing with 7 additions and 5 deletions
...@@ -2,17 +2,18 @@ import turtle ...@@ -2,17 +2,18 @@ import turtle
huabi = turtle.Pen() huabi = turtle.Pen()
huabu = turtle.Screen() huabu = turtle.Screen()
huabu.bgcolor("light blue") huabu.bgcolor("light blue")
huabi.write("大家好",font=("Times",20,"normal")) huabi.write("大家好,\n我叫张家旖",font=("Times",20,"normal"))
banjin = 80
huabi.pensize(10) huabi.pensize(10)
huabi.penup() huabi.penup()
huabi.goto(-100,0) huabi.goto(-100,0)
huabi.pendown() huabi.pendown()
huabi.pencolor("red") huabi.pencolor("red")
huabi.lt(45) huabi.lt(45)
huabi.fd(100) huabi.fd(2*banjin)
huabi.circle(50,180) huabi.circle(banjin,180)
huabi.rt(90) huabi.rt(90)
huabi.circle(50,180) huabi.circle(banjin,180)
huabi.fd(100) huabi.fd(2*banjin)
huabi.hideturtle() huabi.hideturtle()
turtle.done() 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