The Kitronik Inventor's kit for micro:bit, along with our inventor's kit, serves as an introduction to logic gates and how they can be used in conjunction with the microbit. Included in this kit are 5 IC's, each a different type of logic gate. They are AND, OR, XOR, NAND, and a NOT Gate.
Code can be created with the Microsoft MakeCode editor and also in the Python editor Introduction to the building blocks of ICs