You asked
Which lens for a leica m10 d works best in dim light for a beginner?
For dim light on the Leica M10-D, the lens matters more than the body. The camera has no stabilisation, so a wide aperture is what keeps shutter speeds up. The guide's aperture page explains that a wider opening gives faster shutter speeds in dim light, so start with the fastest lens you can carry.
The Leica Summilux-M 35mm f/1.4 ASPH is a strong first pick. A 35mm frames a scene well for street, travel and everyday shots, and f/1.4 lets in a lot of light. It is a demanding lens to carry everywhere, but it suits a beginner who wants one lens that works indoors and out.
The Leica Summilux-M 50mm f/1.4 ASPH is the portrait-friendly choice. It is also f/1.4, so it handles dim rooms just as well, and the 50mm view is easier to learn with because it shows roughly what the eye sees. It gives up the wider view of the 35mm.
If you want the same brightness on a tighter budget, the TTArtisan 50mm f/1.4 ASPH gives you the same f/1.4 opening in a cheaper lens. It is the sensible choice for a beginner who wants to learn in low light without a large outlay.
The Voigtländer Nokton 35mm f/1.2 Aspherical IV is the widest-open 35mm on the Leica M10-D list, for when every fraction of a stop counts. It is a stretch for most beginners, so the Summilux 35mm is the easier starting point.
Pick one prime, learn its framing, and add a second only when you know which focal length you miss.
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}.