There is no better way to learn coding and robotics than building and programming your own robots. The LewanSoul H3S is a 16DOF biped humanoid robot with all metal construction. It has 17kg torque digital servos. You can control the robot using a graphical PC software.
The LewanSoul H3S is compatible with iOS and Android devices too. Its 2200mAh battery lasts you for up to 2 hours. The whole machine weighs under 4lbs. Sets you back under $340 at this time.[where to get it]