79833310

Date: 2025-11-29 14:34:17
Score: 0.5
Natty:
Report link
# Source - https://stackoverflow.com/q
# Posted by Manpreet Kaur
# Retrieved 2025-11-29, License - CC BY-SA 4.0

#snake head
head = turtle.Turtle()
def draw_circle(color, radius, x, y):
    #head(turtle.Turtle())
    head.penup()
    head.fillcolor(color)
    head.goto(x, y)
    head.begin_fill()
    head.circle(radius)
    head.end_fill()
    head.hideturtle()
draw_circle("#FF4500", 30, 0, -40)  #face OrangeRed #FF4500 green #2CD717
draw_circle("#ffffff", 10, -10, -5)      #left eye 9659BD purple
draw_circle("#ffffff", 10, 10, -5)      #right eye  B4BCE2 light blue

draw_circle("#4a70e3", 7, -8, -4)      #5e7ede 9eb1eb  4a70e3 royalblue light colors
draw_circle("#4a70e3", 7, 8, -4)


draw_circle("#17202A", 5, -10, -5)      ##17202A black
draw_circle("#17202A", 5, 10, -5)





#colors = random.choice(['green','black'])
#shapes = random.choice(['square'])

#head.shape(shapes)
#head.color(colors)
head.goto(0,0)
head.penup()
head.speed(0) #animation speed
head.direction = 'stop'

#segment = []
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Endri Kamenica