Editor is spacing the courser 3-4 spaces ahead of code

No matter when I have done to work this out, it doesn’t seem to want to leave… Basically whenever I try to use the editor, the courser to where I can input characters seems to be farther ahead in the line of code, but in reality, the characters that i type into place and where they should be.

This is very annoying and I would greatly appreciate it if anyone could tell me how to fix this problem as it is nearly impossible code with this visual bug. It has been this way since i started learning Python.