Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
269 B
25
Indexable
Never
def make_a_turtle_for_drawing(fucn):
   
    def return_a_turtle_for_drawing(*args, **kwargs):
        turtle = Turtle()
        turtle.pensize(2)
        turtle.speed(2)
        fucn(turtle)
        sleep(2)
        turtle.done()
    return return_a_turtle_for_drawing