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)

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our <a href="https://www.numworks.com/legal/cookies-policy/">cookies policy</a>.