This grasshopper definition can help you model fractal trees fast.This Python fractal tree example file can also be used as an exercise for how to write fractals in python and use boolean to make your code more advanced.
This python component can help you fold a triangle by defining the length of the edge and the folding degree. You can check out the python code for more exercise.
In this Python tutorial you can learn how to model a parametric sierpinski triangle step by step and learn how to use Loops in python with a new method.
In this grasshopper python course lesson we are going to study more about the loops and how you can use it to manage a List.
In the second Grasshopper Python tutorial we are going to cover how you can use List data in Python and extract and use each item. We will also Rebuild the move component in Python.