---
title: "Discussion on \"Implementing General Tree using Python\" | Hashnode"
description: "Discussion on \"Implementing General Tree using Python\". Implementing General Tree using Python\n\n<- Go Back to Index\nWhat is a Tree?\n\nA tree is a widely used abstract data type that simulates a hierarchical tree structure, with a root value and subtrees of children with a parent node, represented as a set ..."
url: "https://hashnode.com/posts/implementing-general-tree-using-python/600fed9d9d3cb25c41e0b038"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Implementing General Tree using Python](https://carboncoffee.hashnode.dev/implementing-general-tree-using-python?utm_source=hashnode&utm_medium=feed)

Implementing General Tree using Python <- Go Back to Index What is a Tree? A tree is a widely used abstract data type that simulates a hierarchical tree structure, with a root value and subtrees of children with a parent node, represented as a set ...

Feb 9, 2024 · 6 min read · carboncoffee.hashnode.dev  
Updated Feb 10, 2024  
Read the article

-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Akshat Sharma](https://hashnode.com/@AkshatSharma)

@AkshatSharma · India

  
[View profile](https://hashnode.com/@AkshatSharma)

Just a Developer next door

I am a Human who trys to learn new stuff every day.

## Responses 4

Markdown supported · ⌘↵ to post

[Bui Duc Thanh](https://hashnode.com/@thanh17)

[Jul 12, 2022](https://hashnode.com/posts/implementing-general-tree-using-python/600fed9d9d3cb25c41e0b038/comment/62cd91151d29fac83b6d265f)

nice!! but i have a problem, how can i add only node leaf? and root is none. i hope i receive the answer. Thank you so much!

[Soumendra kumar sahoo](https://hashnode.com/@soumendrak)

[Dec 17, 2021](https://hashnode.com/posts/implementing-general-tree-using-python/600fed9d9d3cb25c41e0b038/comment/61bccd6aef666c58886e92c7)

Short and to the point; thanks.

[Kalebu Jordan](https://hashnode.com/@Kalebujordan)

[Feb 2, 2021](https://hashnode.com/posts/implementing-general-tree-using-python/600fed9d9d3cb25c41e0b038/comment/6019023e58cc670f3df45946)

Enlightening indeed

[Aagam Sheth](https://hashnode.com/@AagamSheth)

[Jan 27, 2021](https://hashnode.com/posts/implementing-general-tree-using-python/600fed9d9d3cb25c41e0b038/comment/6010d8b9b5b03f4bf00e4652)

Nice!

[Akshat Sharma](https://hashnode.com/@AkshatSharma)

[Jan 27, 2021](https://hashnode.com/posts/implementing-general-tree-using-python/600fed9d9d3cb25c41e0b038/comment/6010d8b9b5b03f4bf00e4652#reply-6011043cb5b03f4bf00e495b)

Thanks
