|
Server IP : 111.118.215.156 / Your IP : 216.73.216.76 Web Server : Apache System : Linux md-in-26.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : azasoqqa ( 1858) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib64/python2.7/Demo/turtle/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
�
���ic @ 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