(格式化)VSCode 中的单个缩进是 repl.it 中的两个缩进 在任一 IDE 上是否有此设置?

(Formatting) A single indent in VSCode is two indents in repl.it Is there a setting for this on either one of the IDEs?

此 python 代码是从 git 存储库导入的,该代码最初是从 Visual Studio 代码编写的。查看 repl.it 上的代码,缩进现在已损坏(他们不同意缩进)。

VSCode 中的单个缩进是 repl.it 中的两个缩进我不确定是否有人知道是否有设置或任何东西可以使它们相同。

来自 VSCode 的代码

来自 Replit 的代码(缩进线比预期的多出一倍)

只需转到 repl.it 上的“设置”并更改缩进大小,在本例中为 4