Sindbad~EG File Manager

Current Path : /proc/2470164/root/lib64/python3.6/turtledemo/__pycache__/
Upload File :
Current File : //proc/2470164/root/lib64/python3.6/turtledemo/__pycache__/rosette.cpython-36.opt-1.pyc

3


 \C�@sXdZddlmZmZmZddlmZmZdd�Zdd�Z	e
dkrTe	�Zee�e�d	S)
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)�clock�sleepcCs�|g}x6td|�D](}|j�}|jd|�|j|�|}qWx`t|�D]T}t|d|�|d}x6|D].}|jd|�|jd|d|�|j|�qjWqHWdS)N�g�v@g@gffffff�?r)�rangeZcloneZrt�append�abs�pencolor�fd)�p�neZszZ
turtlelist�i�q�c�t�r�*/usr/lib64/python3.6/turtledemo/rosette.py�mn_ecks

rcCs�t�}|jd�t�}|jd�|j�|jd�|jd�|jdd�t�}t	|dd�t�}||}t
d�t�}x4tdd	�|j�D��r�x|j�D]}|j
�q�WqxWt�}d
|||S)NZblackrZred��$�rcSsg|]}|j��qSr)Zundobufferentries)�.0rrrr�
<listcomp>7szmain.<locals>.<listcomp>zruntime: %.3f sec)rZbgcolorrZspeedZ
hideturtlerZpensizeZtracerrrr�anyZturtlesZundo)�sr
ZatZetZz1rrrr�main$s&



r�__main__N)
�__doc__ZturtlerrrZtimerrrr�__name__�msg�printrrrr�<module>s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists