There is more than one way to do this! Try the code below too to build your skills!
What you will learn: How to use the IDE called Thonny to interact and code in Minecraft Pi
What you will do
Video 1
Extension Videos
for this video you need a Sense Hat!