|
Server IP : 89.26.249.46 / Your IP : 216.73.216.131 Web Server : Apache System : Linux a.cp.cloudlink.pt 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : eticalga ( 1129) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib64/python2.7/Demo/turtle/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
�
Afc @ s: d Z d d l Td � Z e d k r6 e � e � n d S( s� turtle-example-suite:
tdemo_peace.py
A simple drawing suitable as a beginner's
programming example. Aside from the
peacecolors assignment and the for loop,
it only uses turtle commands.
i����( t *c C sM d } t � t � t � t d d � t d
� xX | D]P } t | � t � t d � t � t d � t d � t d
� t
d � q9 Wt d � t d � t d d � t � t d � t d � t d � t � t d � t d � t
d � t � t d � t � t d � t d � t � t d � t � t d d � d S( Nt red3t oranget yellowt seagreen4t orchid4t
royalblue1t dodgerblue4i����i=���iF i� iZ iB i t whitei iV���i� iT i� i- i, s Done!( R R R R R R R ( t resett Screent upt gotot widtht colort downt forwardt backwardt leftt rightt circle( t peacecolorst pcolor( ( s/ /usr/lib64/python2.7/Demo/turtle/tdemo_peace.pyt main sL
t __main__N( t __doc__t turtleR t __name__t mainloop( ( ( s/ /usr/lib64/python2.7/Demo/turtle/tdemo_peace.pyt <module>
s
-