Your IP : 216.73.216.213
�
��f� c @ s� d Z d d l TGd d � d e � Z Gd d � d e � Z d d � Z d d
� Z d d � Z e d
k r� e � Z
e e
� e � n d S( u� 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 ( u *c B s | Ee Z d Z d d � Z d S( u Discc C sg t j | d d d d �| j � | j d | d d � | j | d d d | d � | j � d S(
Nu shapeu squareu visibleg �?i g @i i F( u Turtleu __init__u Falseu puu shapesizeu fillcoloru st( u selfu n( ( u= /opt/alt/python33/lib64/python3.3/turtledemo/minimal_hanoi.pyu __init__ s
u
Disc.__init__N( u __name__u
__module__u __qualname__u __init__( u
__locals__( ( u= /opt/alt/python33/lib64/python3.3/turtledemo/minimal_hanoi.pyu Disc s u Discc B s>