I had my school's lego mindstorm and had already completed all of the block based programming challenges. I thought that it could be cool to figure out how to program it in a different language. I noticed that the lego minstorm "brain" has a slot for a micro-sd card. I downloaded python from a computer onto the sd card using an SD card formatter. I then put the micro-sd card into the robot and downloaded it onto the brain from there. I used the Visual Studio Code IDE to write the code. The lego mindstorm brain plugged into my computer and I downloaded the code onto it.
The robot moves forward, waits, turns around, and then depending on the speed. moves backwards.