| Server IP : 3.138.164.131 / Your IP : 216.73.216.136 Web Server : Apache System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64 User : injazaat ( 1471) PHP Version : 8.1.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib64/python2.7/Demo/turtle/ |
Upload File : |
�
���dc @ 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