# -*- coding: utf-8 -*- import turtle as tt win = tt.Screen() ###### tt.shape("turtle") tt.pencolor("blue") tt.speed(0) #調整畫筆速度 tt.up() # 為了不留下移動痕跡,先將畫筆提起 for x in range (-150, 160, 60): for y in range(-150, 160, 60): tt.goto(x,y) # 移動到固定位置 tt.stamp() # 蓋下圖章 ###### win.exitonclick()