Python Indentation

A block is a group of statements that are meant to be executed together. In Python, statements are grouped using whitespace, that is, blocks are indented within other blocks instead of using curly braces.

If statement, without indentation (will raise an error):