Your IP : 18.118.144.239
�
Afc @ sS d Z d d l Td � Z d � Z d � Z e d k rO e � Z e GHe � n d S( s� turtle-example-suite:
xtx_lindenmayer_indian.py
Each morning women in Tamil Nadu, in southern
India, place designs, created by using rice
flour and known as kolam on the thresholds of
their homes.
These can be described by Lindenmayer systems,
which can easily be implemented with turtle
graphics and Python.
Two examples are shown here:
(1) the snake kolam
(2) anklets of Krishna
Taken from Marcia Ascher: Mathematics
Elsewhere, An Exploration of Ideas Across
Cultures
i����( t *c C sN xG t | � D]9 } d } x$ | D] } | | j | | � } q W| } q
W| S( Nt ( t ranget get( t seqt replacementRulest nt it newseqt element( ( s<