from turtle import *
for i in range(4):
fd(100)
rt(90)
circle(-100,45)
goto(0,0)
lt(45)
done()
# -*- coding: utf-8 -*-
"""
Created on Fri Nov 5 09:39:06 2021
@author: SBM
"""
from turtle import *
from random import random
rt(22.5)
for i in range(4):
fillcolor(random(),random(),random()) #填充颜色
begin_fill() #填充开始
fd(100)
rt(90)
circle(-100,45)
goto(0,0)
end_fill() #填充结束
lt(45)
width(5)
goto(0,-200)
done()
from turtle import *
import time
setup(1024,768)
rt(90)
for i in range(8):
fd(100)
lt(90)
circle(-100,45)
goto(0,0)
rt(90)
done()