1. 海龟绘图 1.1 蝴蝶曲线 from turtle import * from math import * pencolor("pink") #画笔颜色 def draw(a,end): t=0 while t<24*end: x=a*sin(t)*(exp(cos(t))-