Your IP : 52.15.35.129
U
e5dQ � @ sT d dl mZmZmZ d dlmZmZ dd� Zdd� Z e
dkrPe � Zee� e� dS ) � )�Screen�Turtle�mainloop)�perf_counter�sleepc C s� | g}t d|�D ](}| �� }|�d| � |�|� |} qt |�D ]P}t|d | �|d }|D ].}|�d| � |�d| d|� |�|� qbqBd S )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_eck s
r c C s� t � } | �d� t� }|�d� |�� |�d� |�d� | �dd� t� }t |dd� t� }|| }t
d� t� }tdd � | �� D ��r�| �� D ]}|�
� q�qvt� }d
|| | S )NZblackr Zred� �$ � r c s s | ]}|� � V qd S )N)Zundobufferentries)�.0r r r r � <genexpr>7 s zmain.<locals>.<genexpr>zruntime: %.3f sec)r Zbgcolorr ZspeedZ
hideturtler ZpensizeZtracer�clockr r �anyZturtlesZundo)�sr
ZatZetZz1r r r r �main$ s&