https://www.antonsmindstorms.com/2022/01/05/how-to-program-a-mindstorms-robot-snake-in-python/
How to Program a MINDSTORMS Robot Snake in Python