Sindbad~EG File Manager
�
�=OgQ���dZddlmZmZmZddlmZmZd�Z d�Z
edkr!e
��Ze
e��e��dSdS)aF turtle-example-suite:
tdemo_wikipedia3.py
This example is
inspired by the Wikipedia article on turtle
graphics. (See example wikipedia1 for URLs)
First we create (ne-1) (i.e. 35 in this
example) copies of our first turtle p.
Then we let them perform their steps in
parallel.
Followed by a complete undo().
�)�Screen�Turtle�mainloop)�perf_counter�sleepc��|g}td|��D]E}|���}|�d|z��|�|��|}�Ft|��D]i}t |dz|z
��|dzz}|D]I}|�d|z��|�d|z
d|��|�|���J�jdS)N�g�v@g@gffffff�?r)�range�clone�rt�append�abs�pencolor�fd)�p�ne�sz�
turtlelist�i�q�c�ts �+/usr/lib64/python3.11/turtledemo/rosette.py�mn_eckrs�����J�
�1�R�[�[����
�G�G�I�I�� ���U�2�X�������!����
���
�2�Y�Y������3��q��M�M�2�b�5�!��� � �A�
�D�D��b��M�M�M�
�J�J�q��s�1�Q����
�D�D��H�H�H�H� � ��c��t��}|�d��t��}|�d��|���|�d��|�d��|�dd��t��}t|dd��t��}||z
}td��t��}td�|���D����rV|���D]}|�
���td�|���D�����Vt��}d ||z|z
zS)
N�blackr�red��$�r c3�>K�|]}|���V��dS)N)�undobufferentries)�.0rs r� <genexpr>zmain.<locals>.<genexpr>7s.����
9�
9��a�!�!�#�#�
9�
9�
9�
9�
9�
9rzruntime: %.3f sec)r�bgcolorr�speed�
hideturtler�pensize�tracer�clockrr�any�turtles�undo)�sr�at�et�z1rs r�mainr3$sI�����A��I�I�g�����h�h�A��G�G�A�J�J�J��L�L�N�N�N��J�J�u�����I�I�a�L�L�L��H�H�R��N�N�N� ���B�
�1�b�"���� ���B� �B��B� �!�H�H�H� ���B�
�
9�
9�Q�Y�Y�[�[�
9�
9�
9�
9�
9������� � �A�
�F�F�H�H�H�H��
9�
9�Q�Y�Y�[�[�
9�
9�
9�
9�
9��
���B��"�R�%��(�+�+r�__main__N)�__doc__�turtlerrr�timerr+rrr3�__name__�msg�print�rr�<module>r<s�����,�+�+�+�+�+�+�+�+�+�-�-�-�-�-�-�-�-����",�,�,�4�z���
�$�&�&�C� �E�#�J�J�J��H�J�J�J�J�J��r
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists