Python takes whitespaces seriously. In Python, all the code that you type is arranged via correct whitespaces and therefore if at any instance you have a bad indentation, the overall code will not run and the interpreter will simply return an error function, i.e. an Indentation error
Python follows the PEP8 whitespace ethics while arranging its code and therefore it is suggested that there should be 4 whitespaces between every iteration and any alternative that doesn’t have this will return an error.
Keep in mind that there is no quick solution for this problem. Probably the line causing the indentation error will be shown in the Error block when you tried to compile the code. Go to the code and fix the indentation error by yourself.
Don’t worry, this is one of that error that all kinds of programmers face. Just go through the code carefully, and you will be able to find which cause the error.