<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
ó
¿œ^c           @   sr   d  Z  d d l m Z m Z m Z d d l m Z m Z d „  Z d „  Z	 e
 d k rn e	 ƒ  Z e GHe ƒ  n  d S(   sF        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().
iÿÿÿÿ(   t   Screent   Turtlet   mainloop(   t   clockt   sleepc         C   sÐ   |  g } xG t  d | ƒ D]6 } |  j ƒ  } | j d | ƒ | j | ƒ | }  q Wxv t  | ƒ D]h } t | d | ƒ | d } xC | D]; } | j d | ƒ | j d | d | ƒ | j | ƒ q‰ Wq` Wd  S(   Ni   g     €v@g       @gffffffæ?i    (   t   ranget   clonet   rtt   appendt   abst   pencolort   fd(   t   pt   net   szt
   turtlelistt   it   qt   ct   t(    (    s3   /usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pyt   mn_eck   s    	
c          C   s  t  ƒ  }  |  j d ƒ t ƒ  } | j d ƒ | j ƒ  | j d ƒ | j d ƒ |  j d d ƒ t ƒ  } t	 | d d ƒ t ƒ  } | | } t
 d ƒ t ƒ  } xP t g  |  j ƒ  D] } | j ƒ  ^ q² ƒ rñ x |  j ƒ  D] } | j ƒ  qÚ Wq¢ Wt ƒ  } d | | | S(	   Nt   blacki    t   redi   i$   i   i   s   Laufzeit: %.3f sec(   R    t   bgcolorR   t   speedt
   hideturtleR
   t   pensizet   tracerR   R   R   t   anyt   turtlest   undobufferentriest   undo(   t   sR   t   att   ett   z1R   (    (    s3   /usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pyt   main$   s&    		
		

	.	t   __main__N(   t   __doc__t   turtleR    R   R   t   timeR   R   R   R$   t   __name__t   msg(    (    (    s3   /usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pyt   <module>   s   			