Server IP : 162.213.251.212 / Your IP : 3.129.67.120 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/usr/lib64/python3.8/turtledemo/__pycache__/ |
Upload File : |
U e5d� � @ sD d Z ddlT dd� Zdd� Zdd� Zed kr@e� Zee� e� d S )a� 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 � )�*c C s4 t |�D ]&}d}| D ]}||�||� }q|} q| S )N� )�range�get)�seqZreplacementRules�n�iZnewseqZelement� r �./usr/lib64/python3.8/turtledemo/lindenmayer.py�replace s r c C sR | D ]H}z|| � W q t k rJ zt|| |� W n Y nX Y qX qd S )N)� TypeError�draw)ZcommandsZrules�br r r r &