You asked
Is a 24mm lens or a 70 200mm zoom better for close portraits on a canon eos 200d?
For close portraits on the Canon EOS 200D, the 70-200mm is the better choice. On this APS-C body it frames like 112-320mm on full frame. The Portraits guide says longer focal lengths flatter faces because you stand further away, which keeps noses and chins in proportion, and that a 135mm or 70-200mm f/2.8 suits tight headshots with strong background blur.
The 24mm gives a different look. The EF 24mm f/1.4L II USM frames like 38mm, which is a wide-standard view. It suits environmental portraits that show where someone is, and it can be used indoors or in tight spaces where you can't back up. Up close, though, it exaggerates whatever sits nearest the lens, so faces can look less flattering than with a longer lens.
Within the 70-200mm range, the guide's pick for this site is the Canon EF 70-200mm f/2.8L IS III USM, which gives the fastest aperture for background blur. If you want a lighter, cheaper option, the Canon EF 70-200mm f/4L IS II USM gives up a stop of light but keeps the same focal range. For a middle ground, the Sigma 50-100mm f/1.8 DC HSM Art frames like 80-160mm, is fast, and suits headshots well in a smaller range.
Stabilisation matters here: the EOS 200D has none in the body, so the IS versions help at slow shutter speeds. The Canon EOS 200D page lists every lens that fits it. For a general focal-length overview, see Lenses.
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}.