You asked
Pentax k 3 ii vs pentax kp?
Both are APS-C Pentax K DSLRs with about 24 megapixels, in-body stabilisation and the same sensor size, so they take exactly the same lenses. The choice comes down to the body.
The Pentax K-3 II was announced in 2015. It is the K-3 with GPS and pixel shift added and the built-in flash removed. Choose it if you want those extras and don't mind a larger body. The Pentax KP, announced in 2017, is the smaller, weather-sealed option with swappable grips. Choose it if you'll carry the camera everywhere and want it to handle rain.
For dim light and moving subjects, the lens matters more than the body, because both bodies have the same sensor and stabilisation only steadies the camera. The Sigma 35mm f/1.4 DG HSM Art is a strong low-light pick. It frames like 52mm on full frame and gives a wide aperture for indoor and portrait work. For a smaller, cheaper option, the Pentax HD DA 35mm f/2.8 Macro Limited also frames like 52mm and adds close-up work. For an everyday zoom, the Pentax HD DA 16-85mm f/3.5-5.6 ED DC WR covers roughly 24-128mm on full frame, and its WR suffix means it is weather resistant, which suits the KP.
This answer doesn't include prices, and prices change, so check them before you buy. The guide's first camera advice suggests spending about as much on lenses as on the body, which is a good rule here.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.