You asked

Which pentax k body under 800 euros is better for landscapes the k 70 or the kp?

The guide's pages don't give prices for either body, so it can't say whether either fits under 800 euros. Check the "Price in France" sections on each camera's page before you buy.

For landscapes the two are close. Both have a 24-megapixel APS-C sensor and in-body stabilisation, and both take Pentax K lenses. The Pentax K-70 is the one to pick if you shoot low to the ground or from a tripod, since its flip-out screen helps there. It is also weather-sealed. The Pentax KP is a smaller, weather-sealed body with swappable grips, which suits a light kit on long walks. Its page doesn't mention a flip-out screen. Neither body is better for the sensor, since they share the same size.

The lens matters more than the body here. The landscape guide suggests a wide zoom, around 10-24mm on APS-C, and an f/4 zoom is a good choice because you'll usually shoot at f/8 to f/11. Three K-mount options from the K-70's list are:

Any of these fits either body.

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}.