Files
Original-Pasha-Code/homework.py
2026-03-11 23:19:32 +00:00

47 lines
611 B
Python

import turtle
t = turtle
t.color("red")
t.fillcolor("red")
t.bgcolor("black")
t.shape("turtle")
t.speed (57)
t.lt(90)
t.begin_fill()
t.circle(300)
t.end_fill()
t.lt(90)
t.fd(250)
t.color("crimson")
t.begin_fill()
t.circle(50,67)
t.rt(27)
t.circle(34,23)
t.rt(63)
t.circle(56,12)
t.rt(90)
t.circle(76,56)
t.end_fill()
t.penup()
t.fd(90)
t.pendown()
t.begin_fill()
t.circle(78,36)
t.end_fill()
t.rt(180)
p = 0
while p < 12:
t.fd(9)
t.rt(9)
t.penup()
t.fd(2)
t.pendown()
t.fd(1)
t.lt(1)
p=p+1
t.penup()
t.fd (34)
t.pendown()
t.circle