四設一甲

40423139曾繼緯

一隻會動的小烏龜

import turtle wn = turtle.Screen() wn.bgcolor("lightgreen") tess = turtle.Turtle() tess.shape("turtle") tess.color("blue") tess.penup() # This is new size = 20 for i in range(30): tess.stamp() # Leave an impression on the canvas size = size + 3 # Increase the size on every iteration tess.forward(size) # Move tess along tess.right(24) # ... and turn her wn.mainloop()

心得

看到烏龜會動時,有一股好大好大的成就感喔:)))原來程式可以這麼好玩

自評

70分!!!我會再接再勵的