Binary Tree in python
- Lucy Emmett
- May 7, 2018
- 1 min read
This project is a python version of a binary tree tutorial from The Coding Train youtube channel, which is in javascript with p5.js. I did this to test my understanding of the tutorial and python because I wasn’t simply copying the code I was thinking about how to adapt it best for python and what graphics library would be most suitable for a project like this. I also learnt a lot about classes in python whilst doing this. I would recommend doing this because I would watch the tutorial anyway because I like The Coding Train's videos, this made me interact with it more.
The two youtube videos:
This is the code:

Let me know if something doesn't make sense in the comments! Thanks :D
Commenti