python (3.11.7)
    eQ                         d Z ddlmZmZmZ ddlmZmZ d Z	d Z
edk    r! e
            Z e
e            e             dS dS )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().
    )ScreenTurtlemainloop)perf_countersleepc                    | g}t          d|          D ]E}|                                 }|                    d|z             |                    |           |} Ft          |          D ]i}t	          |dz  |z
            |dz  z  }|D ]I}|                    d|z             |                    d|z
  d|           |                    |           Jjd S )N   g     v@g       @gffffff?r   )rangeclonertappendabspencolorfd)pnesz
turtlelistiqcts           F/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/turtledemo/rosette.pymn_eckr      s    J
1R[[  
GGII	U2X!
2YY  3qMM2b5!  	 	A
DDbMMM
JJqs1Q
DDHHHH		     c                     t                      } |                     d           t                      }|                    d           |                                 |                    d           |                    d           |                     dd           t                      }t          |dd           t                      }||z
  }t          d           t                      }t          d |                                 D                       rV|                                 D ]}|
                                 t          d |                                 D                       Vt                      }d	||z   |z
  z  S )
Nblackr   red   $      r	   c              3   >