from turtle import * def sierpinski(mot): for lettre in mot: if lettre in 'Dd': right(60) else: left(60) forward(L)