tags:

views:

82

answers:

1

I want to make a class in python, which would store a tree.Keeps taking three inputs the main node the left node and right node and stores it in such a way that later I can print it in tree format.

A: 

this should help http://knuth.luther.edu/~pythonworks/Source/chap5/

bronzebeard