import turtle
screen = turtle.Screen()
screen.bgcolor("white")
t = turtle.Turtle()
t.speed(3)
t.pensize(2)
def draw_rhombus(length):
for _ in range(2):
t.forward(length)
t.left(60)
t.forward(length)
t.left(120)
def draw_3d_rhombus(length):
t.color("gray")
t.begin_fill()
t.setheading(30)
draw_rhombus(length)
t.end_fill()
t.color("blue")
t.begin_fill()
t.setheading(0)
draw_rhombus(length)
t.end_fill()
t.penup()
t.goto(0, -50)
t.pendown()
draw_3d_rhombus(100)
t.hideturtle()
turtle.done()
На имба ромб с тенью типо 3D