1 Apr, 20:12
1 Apr, 12:53
🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩
„🔠МЕННО 🔠ЕБЯ.„ 😂
31 Mar, 19:18
#щп поддержите, саппорт нихухры не понимает в пайтоне и пошел на такие жертвы ради сороконожечки 🌟
31 Mar, 19:14
🐰 🪽🤩🤩🥹🔠𝑒𝑤 𝑃🔠𝑠𝑡 -˙🐈⬛ ˙-
import turtleimport mathscreen = turtle.Screen()screen.bgcolor("lightblue")screen.title("Сороконожка")bug = turtle.Turtle()bug.speed(0)body_points = []segment_radius = 20bug.penup()for i in range(30): x = -300 + i * 20 y = 30 * math.sin(x * 0.03) body_points.append((x, y)) bug.goto(x, y) bug.color("black") bug.begin_fill() bug.circle(segment_radius) bug.end_fill()bug.penup()bug.goto(body_points[-1][0] + segment_radius, body_points[-1][1])bug.pendown()bug.color("black")bug.begin_fill()bug.circle(25)bug.end_fill()bug.penup()bug.goto(body_points[-1][0] + segment_radius + 15, body_points[-1][1] + 15)bug.pendown()bug.color("white")bug.begin_fill()bug.circle(8)bug.end_fill()bug.penup()bug.goto(body_points[-1][0] + segment_radius - 5, body_points[-1][1] + 15)bug.pendown()bug.begin_fill()bug.circle(8)bug.end_fill()bug.penup()bug.goto(body_points[-1][0] + segment_radius + 18, body_points[-1][1] + 18)bug.pendown()bug.color("black")bug.begin_fill()bug.circle(4)bug.end_fill()bug.penup()bug.goto(body_points[-1][0] + segment_radius - 2, body_points[-1][1] + 18)bug.pendown()bug.begin_fill()bug.circle(4)bug.end_fill()bug.penup()bug.goto(body_points[-1][0] + segment_radius + 20, body_points[-1][1] + 25)bug.pendown()bug.color("brown")bug.goto(body_points[-1][0] + segment_radius + 40, body_points[-1][1] + 45)bug.penup()bug.goto(body_points[-1][0] + segment_radius - 5, body_points[-1][1] + 25)bug.pendown()bug.goto(body_points[-1][0] + segment_radius - 25, body_points[-1][1] + 45)segment_radius = 20 def draw_leg(center_x, center_y, side): bug.penup() if side == "up": bug.goto(center_x, center_y + segment_radius - 17) bug.setheading(90) else: bug.goto(center_x, center_y - segment_radius + 17) bug.setheading(270) bug.pendown() bug.forward(35) bug.penup() bug.color("darkorange")bug.pensize(5)for x, y in body_points: draw_leg(x, y, "left") draw_leg(x, y, "right")bug.hideturtle()screen.mainloop()
31 Mar, 18:34
31 Mar, 16:12
31 Mar, 15:20