You asked
Which 24mm lens suits environmental portraits on a canon eos 200d if I buy used rather than new?
For environmental portraits on the Canon EOS 200D, a 24mm lens works well. On this APS-C body it frames like 38mm on full frame, which is close to the 35mm the portrait guide recommends for showing where someone is. The guide's pick is the fast option, since a wide aperture keeps the person sharp while the setting stays readable.
The strongest choice is the Canon EF 24mm f/1.4L II USM. It gives the most background separation and works in dim interiors. Its trade-off is size and cost. The Sigma 24mm f/1.4 DG HSM Art offers the same speed as a lower-cost alternative, though you should compare its page against the Canon.
If you want something lighter, the Canon EF 24mm f/2.8 IS USM has stabilisation, which helps in lower light, but its f/2.8 aperture gives less blur than the f/1.4 options. The Canon EF-S 24mm f/2.8 STM is the simplest pick for the 200D, though it is also the least fast.
Buying used means you should budget for a new genuine battery with any used body, as the guide explains in Batteries. This answer does not include prices. Check each lens page's price section for current figures, since prices change.
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}.