From 22b340d8dc158f97916dab7da17d9a8acc97a3b1 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Thu, 21 Oct 2021 19:38:37 +0800 Subject: [PATCH] save project --- star.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/star.py b/star.py index b0a4434..38ba685 100644 --- a/star.py +++ b/star.py @@ -5,7 +5,7 @@ ink = input("什么色?")#绘制五角星# pen = turtle.Pen() pen.pencolor(ink) pen.fillcolor(ink) -pen.begin_fill(ink)) +pen.begin_fill() for i in range(5): #重复执行5次 pen.forward(200) #向前移动200步 pen.right(144) #向右移动144度,注意这里的参数一定不能变 -- libgit2 0.25.0