There is no better way to learn coding and robotics than building and programming your own bots. The XiaoR Geek Donkey Car is a convenient self driving Raspberry Pi robot kit with Python code, computer vision and machine learning. It has a 720p HD camera and supports app control.
The Donkey Car is smart enough to detect lines and follow them. It can become smarter with TensorFlow machine learning. You get servos, chassis, camera holder, wheels, USB camera, and all the parts (other than a Pi) to get started.[where to get it]