import turtle as t
def draw_fiveSstrs(leng):
count = 1
while count <=5:
t.forward(leng)
t.right(144)
count += 1
leng += 10
if leng <= 100:
draw_fiveStars(leng)
def main():
t.penup()
t.backword(100)
t.pendown()
t.pensize(2)
t.pencolor('red')
segment =50
draw_fiveStars(segment)
t.exitonclick()
if name== ' main':
main()
因为markdown把下划线当做格式吃掉了
你粘贴代码用代码块模式粘贴
我先调一下看看出了什么问题
行,不用整理了
已经发现问题
你函数名打错了
有帮助望采纳