That's because pseudocode conventionally uses indentation to denote structure, and Python does too. This explanation is trivial because pseudocode is trivial. The sort of code that can be meaningfully written as pseudocode is easy to understand in any language, and so it doesn't matter.