You asked

Is a used pentax hd da 55 300mm a better buy than a new 18 270mm for a k 3 ii?

Here is what the site says about that.

From Pentax K-3 II: Pentax K-3 II: A DSLR by Pentax with a 24.4-megapixel APS-C sensor, announced in 2015. The K-3 with GPS and pixel shift added and the built-in flash removed. Specs - Maker: Pentax - Mount: Pentax K - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 24.4 megapixels - Stabilisation: in the body - Announced: 2015 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on ...

From Pentax HD DA 55-300mm f/4-5.8 ED WR: Pentax HD DA 55-300mm f/4-5.8 ED WR: A zoom lens by Pentax for APS-C cameras, 55-300mm f/4-5.8. The older 55-300, replaced by the faster-focusing PLM version.

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