| Server IP : 185.143.234.238 / Your IP : 185.215.232.195 Web Server : Apache System : Linux 81-12-52-146.cprapid.com 4.18.0-553.76.1.lve.el8.x86_64 #1 SMP Wed Oct 1 16:05:07 UTC 2025 x86_64 User : noavaranesama ( 1039) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python2.7/Demo/turtle/ |
Upload File : |
�
Afc @ sC d Z d d l Td � Z d � Z e d k r? e � e � n d S( s� turtle-example-suite:
tdemo_yinyang.py
Another drawing suitable as a beginner's
programming example.
The small circles are drawn by the circle
command.
i����( t *c C s� t d � t d � t t � t | d d � t | d � t d � t | d d � t | � t t � t | � t d � t � t | d � t d � t � t | d � t d � t t
� t � t | d � t � t d � d S( Ni t blackg @i� iZ g �?g �?( t widtht colort fillt Truet circlet leftt upt forwardt rightt downt Falset backward( t radiust color1t color2( ( s1 /usr/lib64/python2.7/Demo/turtle/tdemo_yinyang.pyt yin s,
c C s2 t � t d d d � t d d d � t � d S( Ni� t whiteR s Done!( t resetR t ht( ( ( s1 /usr/lib64/python2.7/Demo/turtle/tdemo_yinyang.pyt main( s
t __main__N( t __doc__t turtleR R t __name__t mainloop( ( ( s1 /usr/lib64/python2.7/Demo/turtle/tdemo_yinyang.pyt <module> s