ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python3.8/turtledemo/__pycache__/round_dance.cpython-38.opt-1.pyc
U

e5d@s8dZddlTddZddZedkr4eeedS)	aF      turtle-example-suite:

         tdemo_round_dance.py

(Needs version 1.1 of the turtle module that
comes with Python 3.1)

Dancing turtles have a compound shape
consisting of a series of triangles of
decreasing size.

Turtles march along a circle while rotating
pairwise in opposite direction, with one
exception. Does that breaking of symmetry
enhance the attractiveness of the example?

Press any key to stop the animation.

Technically: demonstrates use of compound
shapes, transformation of shapes as well as
cloning turtles. The animation is
controlled through update().
)*cCsdadS)NF)runningrr./usr/lib64/python3.8/turtledemo/round_dance.pystopsrcCsttdtdtdd}d}d}d}td}td	D]D}t|t}||9}||9}t||	||d
d|fdq>t
d|tdtdttd
dg}tdD]:}t
dtdtdt|dd
kr|tqtdatttd}trd}	|D]6}
|

d|
d|
|	|	d
krPdnd}	q |dkrztdt||d9}tqdS)NZgray10FZtriangleg}Rc?gy!"@Zcompound
g?ZblackZmultitriri8TgGz?zDONE!)ZclearscreenZbgcolorZtracershapeZShaperangeZ	shapesizeZ
get_shapepolyZtiltZaddcomponentZregister_shapeZpuZsetposfdltupdateappendZclonehomerZ
onkeypressrZlistenright)fZphiscZshipZdancersZcsZtaZdancerrrrmains^







r__main__N)__doc__Zturtlerr__name__printZmainlooprrrr<module>s5