Commit 0e763108 by BellCodeEditor

auto save

parent 022ec8df
Showing with 44 additions and 1 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
pen.shape('circle')
for i in range(360):
pen.forward(1)
pen.left(1)
pen.end_fill()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
pen.shape('circle')
for i in range(2):
pen.forward(180)
pen.left(90)
pen.forward(50)
pen.left(90)
pen.end_fill()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.fillcolor("yellow")
pen.begin_fill()
pen.shape('circle')
for i in range(5):
pen.forward(300)
pen.right(144)
pen.end_fill()
pen.hideturtle( )
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
pen.shape('circle')
\ No newline at end of file
......@@ -25,5 +25,5 @@ while True:
screen.blit(road, (0, 500))
screen.blit(hero, (150, 400))
# 刷新画面
pygame.display.update()
pygame.display.update()
FPS.tick(60)
\ 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