Yes, there is some redundancy, but the benefit is that the title also cues you in to exactly what the note is about. As you review or link your notes some time later, you’ll have a better idea whether or not you that particular note is relevant.
You can also look at it from the other side. If you rename “Python Variables” to just “Variables”, what happens when you go to learn another language? Eventually, you may want a “Variables” note that has sections or links to “Imperative Language Variables”, “Functional Language Variables”, etc. which would then connect to the languages that fit those groupings. Even then, “Variable” might need to be “Programming Variables” if you also have notes on mathematics.
Also, one of the benefits of notes on the computer is that it is comparatively easy to rename, split, join or otherwise rearrange your notes. For a given note (as opposed to restructuring your whole vault) all of those are things are simple cut, copy, paste operations, which is way better than doing those same things on handwritten notes, which would involve some degree of rewriting them. You don’t have to worry about getting a perfect structure now, it can evolve as you add more notes and gain experience in how it works for you. Optimal organization for you may not look the same as it would for me or even for yourself sometime down the road.