import turtle as t

def rectangle(horizontal, vertical, color):
    t.pendown()
    t.pensize(1)
    t.color(color)
    t.begin_fill()
    for counter in range(2):
        t.forward(horizontal)
        t.right(90)
        t.forward(vertical)
        t.right(90)
    t.end_fill()
    t.penup()

def star(length, points, color):
    sumangle = ((points*2)-2) * 180
    oneangle = sumangle/points
    smallangle = oneangle/3.5
    bigangle = oneangle - smallangle
    t.color(color)
    t.pendown()
    t.begin_fill()
    t.penup()
    for counter in range(points):
        t.forward(length)
        t.left(smallangle)
        t.forward(length)
        t.left(bigangle)
    t.end_fill()

t.penup()

gotoy = 222

t.speed(0)
t.setup(988,520)
t.goto(494,260)
t.pendown()

for counter in range(7):
    t.setheading(-90)
    rectangle(40,988,'#B22234')
    t.setheading(-90)
    t.forward(80)

t.penup()

t.setheading(0)
t.goto(-494,260)
t.pendown()

rectangle(494,280,'#3C3B6E')
t.goto(-474,245)
for counter in range(4):
    for counter in range(6):
        star(9,5,'white')
        t.setheading(0)
        t.forward(84)
        t.penup()
    t.goto(-434,gotoy)
    gotoy = gotoy - 28
    t.pendown()
    for counter in range(5):
        star(9,5,'white')
        t.setheading(0)
        t.forward(84)
    t.goto(-476,gotoy)
    gotoy = gotoy - 28

for counter in range(6):
        star(9,5,'white')
        t.setheading(0)
        t.forward(84)
        t.penup()

t.hideturtle()

[((32, 0, 32, 9), 'turtle.penup', 't.penup', ({}, {}), '()', True, 'import turtle as t\n'), ((36, 0, 36, 10), 'turtle.speed', 't.speed', ({(36, 8, 36, 9): '(0)'}, {}), '(0)', True, 'import turtle as t\n'), ((37, 0, 37, 16), 'turtle.setup', 't.setup', ({(37, 8, 37, 11): '(988)', (37, 12, 37, 15): '(520)'}, {}), '(988, 520)', True, 'import turtle as t\n'), ((38, 0, 38, 15), 'turtle.goto', 't.goto', ({(38, 7, 38, 10): '(494)', (38, 11, 38, 14): '(260)'}, {}), '(494, 260)', True, 'import turtle as t\n'), ((39, 0, 39, 11), 'turtle.pendown', 't.pendown', ({}, {}), '()', True, 'import turtle as t\n'), ((47, 0, 47, 9), 'turtle.penup', 't.penup', ({}, {}), '()', True, 'import turtle as t\n'), ((49, 0, 49, 15), 'turtle.setheading', 't.setheading', ({(49, 13, 49, 14): '(0)'}, {}), '(0)', True, 'import turtle as t\n'), ((50, 0, 50, 16), 'turtle.goto', 't.goto', ({(50, 7, 50, 11): '(-494)', (50, 12, 50, 15): '(260)'}, {}), '(-494, 260)', True, 'import turtle as t\n'), ((51, 0, 51, 11), 'turtle.pendown', 't.pendown', ({}, {}), '()', True, 'import turtle as t\n'), ((54, 0, 54, 16), 'turtle.goto', 't.goto', ({(54, 7, 54, 11): '(-474)', (54, 12, 54, 15): '(245)'}, {}), '(-474, 245)', True, 'import turtle as t\n'), ((77, 0, 77, 14), 'turtle.hideturtle', 't.hideturtle', ({}, {}), '()', True, 'import turtle as t\n'), ((4, 4, 4, 15), 'turtle.pendown', 't.pendown', ({}, {}), '()', True, 'import turtle as t\n'), ((5, 4, 5, 16), 'turtle.pensize', 't.pensize', ({(5, 14, 5, 15): '(1)'}, {}), '(1)', True, 'import turtle as t\n'), ((6, 4, 6, 18), 'turtle.color', 't.color', ({(6, 12, 6, 17): 'color'}, {}), '(color)', True, 'import turtle as t\n'), ((7, 4, 7, 18), 'turtle.begin_fill', 't.begin_fill', ({}, {}), '()', True, 'import turtle as t\n'), ((13, 4, 13, 16), 'turtle.end_fill', 't.end_fill', ({}, {}), '()', True, 'import turtle as t\n'), ((14, 4, 14, 13), 'turtle.penup', 't.penup', ({}, {}), '()', True, 'import turtle as t\n'), ((21, 4, 21, 18), 'turtle.color', 't.color', ({(21, 12, 21, 17): 'color'}, {}), '(color)', True, 'import turtle as t\n'), ((22, 4, 22, 15), 'turtle.pendown', 't.pendown', ({}, {}), '()', True, 'import turtle as t\n'), ((23, 4, 23, 18), 'turtle.begin_fill', 't.begin_fill', ({}, {}), '()', True, 'import turtle as t\n'), ((24, 4, 24, 13), 'turtle.penup', 't.penup', ({}, {}), '()', True, 'import turtle as t\n'), ((30, 4, 30, 16), 'turtle.end_fill', 't.end_fill', ({}, {}), '()', True, 'import turtle as t\n'), ((42, 4, 42, 21), 'turtle.setheading', 't.setheading', ({(42, 17, 42, 20): '(-90)'}, {}), '(-90)', True, 'import turtle as t\n'), ((44, 4, 44, 21), 'turtle.setheading', 't.setheading', ({(44, 17, 44, 20): '(-90)'}, {}), '(-90)', True, 'import turtle as t\n'), ((45, 4, 45, 17), 'turtle.forward', 't.forward', ({(45, 14, 45, 16): '(80)'}, {}), '(80)', True, 'import turtle as t\n'), ((61, 4, 61, 22), 'turtle.goto', 't.goto', ({(61, 11, 61, 15): '(-434)', (61, 16, 61, 21): 'gotoy'}, {}), '(-434, gotoy)', True, 'import turtle as t\n'), ((63, 4, 63, 15), 'turtle.pendown', 't.pendown', ({}, {}), '()', True, 'import turtle as t\n'), ((68, 4, 68, 22), 'turtle.goto', 't.goto', ({(68, 11, 68, 15): '(-476)', (68, 16, 68, 21): 'gotoy'}, {}), '(-476, gotoy)', True, 'import turtle as t\n'), ((73, 8, 73, 23), 'turtle.setheading', 't.setheading', ({(73, 21, 73, 22): '(0)'}, {}), '(0)', True, 'import turtle as t\n'), ((74, 8, 74, 21), 'turtle.forward', 't.forward', ({(74, 18, 74, 20): '(84)'}, {}), '(84)', True, 'import turtle as t\n'), ((75, 8, 75, 17), 'turtle.penup', 't.penup', ({}, {}), '()', True, 'import turtle as t\n'), ((9, 8, 9, 29), 'turtle.forward', 't.forward', ({(9, 18, 9, 28): 'horizontal'}, {}), '(horizontal)', True, 'import turtle as t\n'), ((10, 8, 10, 19), 'turtle.right', 't.right', ({(10, 16, 10, 18): '(90)'}, {}), '(90)', True, 'import turtle as t\n'), ((11, 8, 11, 27), 'turtle.forward', 't.forward', ({(11, 18, 11, 26): 'vertical'}, {}), '(vertical)', True, 'import turtle as t\n'), ((12, 8, 12, 19), 'turtle.right', 't.right', ({(12, 16, 12, 18): '(90)'}, {}), '(90)', True, 'import turtle as t\n'), ((26, 8, 26, 25), 'turtle.forward', 't.forward', ({(26, 18, 26, 24): 'length'}, {}), '(length)', True, 'import turtle as t\n'), ((27, 8, 27, 26), 'turtle.left', 't.left', ({(27, 15, 27, 25): 'smallangle'}, {}), '(smallangle)', True, 'import turtle as t\n'), ((28, 8, 28, 25), 'turtle.forward', 't.forward', ({(28, 18, 28, 24): 'length'}, {}), '(length)', True, 'import turtle as t\n'), ((29, 8, 29, 24), 'turtle.left', 't.left', ({(29, 15, 29, 23): 'bigangle'}, {}), '(bigangle)', True, 'import turtle as t\n'), ((58, 8, 58, 23), 'turtle.setheading', 't.setheading', ({(58, 21, 58, 22): '(0)'}, {}), '(0)', True, 'import turtle as t\n'), ((59, 8, 59, 21), 'turtle.forward', 't.forward', ({(59, 18, 59, 20): '(84)'}, {}), '(84)', True, 'import turtle as t\n'), ((60, 8, 60, 17), 'turtle.penup', 't.penup', ({}, {}), '()', True, 'import turtle as t\n'), ((66, 8, 66, 23), 'turtle.setheading', 't.setheading', ({(66, 21, 66, 22): '(0)'}, {}), '(0)', True, 'import turtle as t\n'), ((67, 8, 67, 21), 'turtle.forward', 't.forward', ({(67, 18, 67, 20): '(84)'}, {}), '(84)', True, 'import turtle as t\n')]