You asked
Which pentax lens is best for fast action in dim gyms under 600 euros?
The guide doesn't have a Pentax lens recommendation for fast action in dim gyms, and it gives no lens prices, so it can't name a lens under 600 euros. It does cover the Pentax bodies: the Pentax K-3 (24.4-megapixel APS-C, announced 2013), the Pentax K-S1 (20.1-megapixel APS-C, announced 2014) and the Pentax KF (24.2-megapixel APS-C, announced 2022). Any of them can take the lens you choose, but the guide doesn't say which of them handles fast action best.
For dim gyms, the lens matters more than the body. The aperture guide explains that f/1.8 lets in about ten times as much light as f/5.6. A wide aperture gives you faster shutter speeds to freeze players, and a constant-aperture zoom keeps that brightness across its range. Cheaper zooms get darker as you zoom in, which is a problem in a gym.
Autofocus is the other half. The wildlife and sport page says subject detection and eye tracking are the biggest reasons to buy a recent body for moving subjects. The guide's examples of that tracking are recent mirrorless cameras, and it doesn't say whether the Pentax DSLRs have it, so check that before you buy.
Stabilisation steadies the camera, not the players, so it helps less here than a fast lens does.
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}.