Here is another robot kit that can teach you about the basics of coding, machine learning, and electronics. The XiaoR Geek Donkey Car is a Raspberry Pi robot with a 720p HD camera and app control. It can use TensorFlow machine learning to get smarter.
The Donkey Car uses computer vision to detect and follow lines. You can train the robot to drive autonomously on different tracks. You will need a Raspberry Pi 3B+ to power this car.