ete.py

Created by numworks

Created on August 22, 2022

653 Bytes


from turtle import *
from math import *
from kandinsky import *

#verre
hideturtle()
penup()
pencolor('cyan')
pensize(3)
goto(-45,20)
pendown()
goto(45,20)
goto(4,-20)
goto(4,-80)
goto(25,-85)
goto(-25,-85)
goto(-4,-80)
goto(-4,-20)
goto(-45,20)
penup()

#boisson
rects = [
(133,97,55,5,(255,235,143)),
(138,102,45,5,(255,235,143)),
(143,107,35,5,(255,235,143)),
(148,112,25,5,(255,235,143)),
(153,117,15,5,(255,235,143)),
(158,122,5,5,(255,235,143))]
for r in rects:
  fill_rect(*r)
  
#cocktail
pencolor('pink')
goto(-60,50)
pendown()
goto(-40,50)
goto(0,5)
penup()

#citron
pencolor('orange')
goto(37,10)
pendown()
right(40)
circle(12,302)