AlkantarClanX12
Current Path : /lib64/python3.8/turtledemo/__pycache__/ |
Current File : //lib64/python3.8/turtledemo/__pycache__/round_dance.cpython-38.opt-2.pyc |
U e5d � @ s4 d dl T dd� Zdd� Zedkr0ee� � e� dS )� )�*c C s da d S )NF)�running� r r �./usr/lib64/python3.8/turtledemo/round_dance.py�stop s r c C s� t � td� td� td� d} d}d}d}td�}td �D ]D}t|� t� }|| 9 }|| 9 }t| � |� ||d d| fd� q>t d|� td� td� t� td d� g }td�D ]:}t d� td� td� t� |d d kr�|�t� � q�t� datt� t� d}t�r�d} |D ]6} | � d� | �d� | �| � | d k�rPdnd} �q |dk �rztd� t|� |d9 }t� �qdS )NZgray10FZtriangleg}�R��c�?g���y!"@� � Zcompound� g �?ZblackZmultitrir i8���� � ���� � T� g�G�z�?zDONE!)ZclearscreenZbgcolorZtracer�shapeZShape�rangeZ shapesizeZ get_shapepolyZtiltZaddcomponentZregister_shapeZpuZsetpos�fd�lt�update�appendZclone�homer Z onkeypressr Zlisten�right)�fZphi�s�cZsh�i�pZdancersZcsZtaZdancerr r r �main s^ r �__main__N)Zturtler r �__name__�printZmainloopr r r r �<module> s 5