
    ;ey                         	 d dl mZmZ d dlmZ d Zd Zd Ze	dk    r! e            Z
 ee
            e             dS dS )    )Turtlemainloop)perf_counterc              #   \  K   	 |dk    rg }| D ]}|                     |           |                                }|                    |           |                    |           |                    |           |                    |           t          |||z  ||          D ]}d V  d S d S )N   )forwardcloneleftrightappendtree)plistlaflstpqxs           &/usr/lib/python3.11/turtledemo/tree.pyr   r      s      
 	1uu 	 	AIIaLLL		AFF1IIIGGAJJJJJqMMMJJqMMMMc1Q31%% 	 	AJJJJ u	 	    c                     t                      } |                     d            |                                  |                     d           |                                                     dd           |                     d           |                                  |                     d           | 	                                 t          | gddd          }|D ]}d S )Nr      Z   i.   A   gffffff?)r   setundobuffer
hideturtlespeed	getscreentracerr
   penupr   pendownr   )r   tr   s      r   maketreer%   '   s    AOODLLNNNGGAJJJKKMMAFF2JJJGGIIIIIdOOOIIKKKaS#r6""A   r   c                  f    t                      } t                       t                      }d|| z
  z  S )Nzdone: %.2f sec.)clockr%   )r   bs     r   mainr)   5   s,    ggAJJJggA!$$r   __main__N)turtler   r   timer   r'   r   r%   r)   __name__msgprint r   r   <module>r1      s     $ # # # # # # # & & & & & &  $  % % % z
$&&C	E#JJJHJJJJJ r   