40423127 范展榕 W7
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()
看到除了leo以外利用python寫出的程式,有股新奇的感覺,除了網頁製作,多了一隻會動的烏龜
70分!!!我會繼續學習程式的