PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/qpfajntr/ekhaya.265thami.com/qxtr.php on line 8
| Dir : /lib64/python3.12/turtledemo/__pycache__/ |
| Server: Linux premium288.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 162.254.39.137 |
| Dir : //lib64/python3.12/turtledemo/__pycache__/minimal_hanoi.cpython-312.pyc |
�
�֦i � � � d Z ddl� G d� de� Z G d� de� Zd� Zd� Zd � Ze d
k( r e� Z
ee
� e� yy)a� turtle-example-suite:
tdemo_minimal_hanoi.py
A minimal 'Towers of Hanoi' animation:
A tower of 6 discs is transferred from the
left to the right peg.
An imho quite elegant and concise
implementation using a tower class, which
is derived from the built-in type list.
Discs are turtles with shape "square", but
stretched to rectangles by shapesize()
---------------------------------------
To exit press STOP button
---------------------------------------
� )�*c � � e Zd Zd� Zy)�Discc �� � t j | dd�� | j � | j d|dz d� | j |dz dd|dz z
� | j � y ) N�squareF)�shape�visibleg �?� g @r � )�Turtle�__init__�pu� shapesize� fillcolor�st)�self�ns �1/usr/lib64/python3.12/turtledemo/minimal_hanoi.pyr
z
Disc.__init__ sV � �����H�e��<���� ����s�A�c�E�1�%����q��t�Q��!�B�$��'���� � N)�__name__�
__module__�__qualname__r
� r r r r s � �r r c �"