求教,我想把这个代码改用循环结构,请大家指教,最好附代码,急急急。多谢#DrawFourCircle1.pyfromturtleimport*pencolor("red")speed(6)#1circle(50)penup()forward(100)#2pendown(...
求教,我想把这个代码改用循环结构,请大家指教,最好附代码,急急急。多谢
#DrawFourCircle1.py
from turtle import *
pencolor("red")
speed(6)
#1
circle(50)
penup()
forward(100)
#2
pendown()
circle(50)
penup()
right(90)
forward(100)
#3
left(90)
pendown()
circle(50)
left(180)
penup()
forward(100)
#4
right(180)
pendown()
circle(50)
展开