Hacked By AnonymousFox

Current Path : /usr/lib64/python3.8/turtledemo/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/turtledemo/__pycache__/rosette.cpython-38.opt-1.pyc

U

e5dQ�@sXdZddlmZmZmZddlmZmZdd�Z	dd�Z
edkrTe
�Ze
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)�perf_counter�sleepcCs�|g}td|�D](}|��}|�d|�|�|�|}qt|�D]P}t|d|�|d}|D].}|�d|�|�d|d|�|�|�qbqBdS)N�g�v@g@gffffff�?r)�rangeZcloneZrt�append�abs�pencolor�fd)�p�neZszZ
turtlelist�i�q�c�t�r�*/usr/lib64/python3.8/turtledemo/rosette.py�mn_ecks
rcCs�t�}|�d�t�}|�d�|��|�d�|�d�|�dd�t�}t	|dd�t�}||}t
d�t�}tdd	�|��D��r�|��D]}|�
�q�qvt�}d
|||S)NZblackrZred��$�rcss|]}|��VqdS)N)Zundobufferentries)�.0rrrr�	<genexpr>7szmain.<locals>.<genexpr>zruntime: %.3f sec)rZbgcolorrZspeedZ
hideturtlerZpensizeZtracer�clockrr�anyZturtlesZundo)�sr
ZatZetZz1rrrr�main$s&



r�__main__N)�__doc__Zturtlerrr�timerrrrr�__name__�msg�printrrrr�<module>s

Hacked By AnonymousFox1.0, Coded By AnonymousFox