MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib64/python2.7/Demo/turtle/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib64/python2.7/Demo/turtle/tdemo_wikipedia.pyo
�
V
�Qc@srdZddlmZmZmZddlmZmZd�Zd�Z	e
dkrne	�ZeGHe�ndS(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����(tScreentTurtletmainloop(tclocktsleepcCs�|g}xGtd|�D]6}|j�}|jd|�|j|�|}qWxvt|�D]h}t|d|�|d}xC|D];}|jd|�|jd|d|�|j|�q�Wq`WdS(Nig�v@g@gffffff�?i(trangetclonetrttappendtabstpencolortfd(tptnetszt
turtlelisttitqtctt((s3/usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pytmn_ecks	


cCst�}|jd�t�}|jd�|j�|jd�|jd�|jdd�t�}t	|dd�t�}||}t
d�t�}xPtg|j�D]}|j
�^q��r�x|j�D]}|j�q�Wq�Wt�}d|||S(	Ntblackitredii$iisLaufzeit: %.3f sec(RtbgcolorRtspeedt
hideturtleR
tpensizettracerRRRtanytturtlestundobufferentriestundo(tsRtattettz1R((s3/usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pytmain$s&	
	



		

	.	t__main__N(t__doc__tturtleRRRttimeRRRR$t__name__tmsg(((s3/usr/lib64/python2.7/Demo/turtle/tdemo_wikipedia.pyt<module>s			

MMCT - 2023