top of page

ALL POSTS:

Binary Tree in python

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

0 comments

Recent Posts

See All

A* path finding algorithm

This is another algorithm in python that I wrote from watching a Coding Train video! I really would recommend watching The Coding Train...

Comments


bottom of page