You asked
Canon eos 2000d vs pentax kp?
I don't have a head-to-head page for these two, but their own pages cover the key differences. Both are APS-C DSLRs with about 24 megapixels, so the sensors won't separate them. The Pentax KP has in-body stabilisation and a weather-sealed body, which matters if you shoot outdoors or use lenses without stabilisation. The Canon EOS 2000D has no in-body stabilisation, so you'll want stabilised lenses for slow shutter speeds.
For the 2000D, the Canon EF-S 18-55mm f/3.5-5.6 IS STM is a sensible everyday kit lens. For the KP, the Pentax HD DA 16-85mm f/3.5-5.6 ED DC WR is a good weather-sealed walkabout choice. Your existing lenses and mount will probably decide this for you, so check the Canon EF and Pentax K mount pages first.
Written by Claude from this site's pages.