开发者

how to create a class in python which would store a tree

I want to make a class in python, which would store a tree.Kee开发者_如何学编程ps 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜