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/telusvwg/public_html/da754d/index.php on line 8
| Dir : /lib64/python3.8/turtledemo/__pycache__/ |
| Server: Linux premium279.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: 66.29.132.192 |
| Dir : //lib64/python3.8/turtledemo/__pycache__/sorting_animate.cpython-38.opt-1.pyc |
U
��.e� � @ s� d Z ddlT ddlZG dd� de�ZG dd� de�Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zd%dd�Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"Zd#Zed$kr�e� Ze� dS )&a�
sorting_animation.py
A minimal sorting algorithm animation:
Sorts a shelf of 10 blocks using insertion
sort, selection sort and quicksort.
Shelfs are implemented using builtin lists.
Blocks are turtles with shape "square", but
stretched to rectangles by shapesize()
---------------------------------------
To exit press space button
---------------------------------------
� )�*Nc @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S )
�Blockc C sF || _ tj| ddd� | �� | �|d dd� | �d� | �� d S )NZsquareF)�shapeZvisibleg �?� �black)�size�Turtle�__init__Zpu� shapesize� fillcolor�st)�selfr � r �2/usr/lib64/python3.8/turtledemo/sorting_animate.pyr s
zBlock.__init__c C s | � d� d S )NZred�r �r
r r r �glow s z
Block.glowc C s | � d� d S )Nr r r r r r �unglow"