Skip to content

HanoiIntermediate

Repository source: HanoiIntermediate

Other languages

See (Cxx), (PythonicAPI)

Question

If you have a question about this example, please use the VTK Discourse Forum

Code

HanoiIntermediate.py

#!/usr/bin/env python

"""
HanoiIntermediate

Note: Make sure Hanoi.py is in the same directory as this program.
"""

import Hanoi


def main():
    Hanoi.gv.configuration = 2
    Hanoi.hanoi()


if __name__ == '__main__':
    main()