dm21.py

Created by anaali

Created on March 20, 2022

1.67 KB

Reliques de la mort


# Type your text here
from turtle import *
hideturtle()
def fond ():
  speed(10)
  color('black')
  pensize (85)
  h =50
  for i in range (2):
    for i in range (2):
      l=h*1.5
      forward(l)  
      left (90)
      forward (h)
      left(90)
      h += 50
  forward (l)

def reliques():
  penup()
  goto (0,-60)
  pendown()
  for i in range (360):
    forward(1)
    left(1)

  forward (100)
  setheading(120)
  forward (200)
  setheading(240)
  forward (200)
  setheading(360)
  forward (100)
  setheading(90)
  forward (180)



def baguette():
  setheading(240)
  pendown()
  forward (150)
  penup()
  backward( 30)
  left(180)


def a ():
  pendown()
  setheading (70)
  forward (35)
  right (140)
  forward (35)
  backward (15)
  setheading (0)
  backward (10)
  
def l ():
  pendown()
  setheading (90)
  forward (31)
  backward (31)
  right(90)
  forward (15)
  
def w ():
  pendown()
  setheading(110)
  forward (32)
  backward (32)
  right(40)
  forward (32)
  setheading(110)
  backward (32)
  right(40)
  forward (32)
def y():
  pendown()
  setheading (60)
  forward (35)
  backward (15)
  setheading(130)
  forward (18)

def s2():
  pendown()
  setheading(50)
  forward(15)
  left(80)
  forward(15)
  setheading(50)
  forward(15)
  
def baguette ():
  pendown()
  setheading(70)
  forward (25)
  penup()
  forward (5)
  pendown()
  forward (8)
  backward (4)
  left (90)
  forward (4)
  backward (8)
  forward (4)

  
fond()
pensize (2)
color('white')
reliques()
setheading(90)
penup()
goto (-120,-100)
a()
penup()
goto(-80,-100)
l()
penup()
goto (-50,-100)
w()
penup()
goto (-10,-100)
a()
penup()
goto(30,-100)
y()
penup()
goto(60,-100)
s2()
penup()
goto(90,-100)
baguette()

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 cookies policy.