python用turtle画小猪佩奇

相关代码以下:web from turtle import * def nose(x, y): # 鼻子 penup() # 提起笔 goto(x, y) # 定位 pendown() # 落笔,开始画 setheading(-30) # 将乌龟的方向设置为to_angle/为数字(0-东、90-北、180-西、270-南) begin_fil
相关文章
相关标签/搜索