This python code was imported from a git repository in which the code was originally written from Visual Studio Code. Seeing the code on repl.it, the indentations are now corrupted (They don't see to agree on the indentations).
A single indentation in VSCode is two indentations in repl.it I'm not sure if anybody knows if there's a setting or anything to make them the same.
Code from Replit (Indentation lines are double from what it's supposed to be)