You asked
Canon eos 1200d vs pentax k 500?
Here is what the site says about that.
From Canon EOS 1200D: Canon EOS 1200D: A DSLR by Canon with a 18-megapixel APS-C (Canon) sensor, announced in 2014. Sold as the Rebel T5 in North America. Specs - Maker: Canon - Mount: Canon EF - Sensor: APS-C (Canon), 22.3 x 14.9mm, crop factor 1.6 - Resolution: 18 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2014 - Type: DSLR Focal lengths on it Lenses frame like 1.6 ...
From Pentax K-500: Pentax K-500: A DSLR by Pentax with a 16.3-megapixel APS-C sensor, announced in 2013. The K-50 without weather sealing. Specs - Maker: Pentax - Mount: Pentax K - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 16.3 megapixels - Stabilisation: in the body - Announced: 2013 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on full frame: 16mm like 24mm, 23mm like 35mm, ...
Quoted from this site's pages.