There is no better way to learn electronics and coding than building and programming your own robots. You can always get inspired by what other makers are doing. Take this PyBot SCARA Robotic Arm for instance: it is a Python coded, Arduino M0 based robot with 5DOF in total.
The arm has max length of24 cm. It has a horizontal and vertical speed of 220mm/s and 55mm/s respectively.