HEX
Server: Apache
System: Linux sh-pro142.hostgator.com.br 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User: okform09 (1324)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //usr/lib64/python3.9/turtledemo/__pycache__/two_canvases.cpython-39.opt-1.pyc
a

�i_�@s:dZddlmZmZmZdd�Zedkr6e�e��dS)z�turtledemo.two_canvases

Use TurtleScreen and RawTurtle to draw on two
distinct canvases in a separate window. The
new window must be separately closed in
addition to pressing the STOP button.
�)�TurtleScreen�	RawTurtle�TKc	CsNt��}tj|dddd�}tj|dddd�}|��|��t|�}|�ddd�t|�}|�ddd�t|�}t|�}|�dd	�|�d
�|�dd�|�d
�||fD]}|�	d
�|�
d�q�|�
d�||fD]}|��q�td�D]&}||fD]}|�
d�|�
d�q�q�||fD]*}|��|�
d�|��|�d��qdS)Ni,��z#ddffff)�widthZheight�bgz#ffeeee�333333�?�Zred)r	rr�Zblue)rrr	�turtle�$���2�H�6Z	EVENTLOOP)rZTkZCanvas�packrZbgcolorrZcolorr�shape�ltZ
begin_fill�range�fdZend_fillZpuZbk)	�rootZcv1Zcv2�s1�s2�p�q�t�i�r�//usr/lib64/python3.9/turtledemo/two_canvases.py�mains>






r �__main__N)�__doc__rrrrr �__name__Zmainlooprrrr�<module>s
)