and ends with either statement that is indented lessor the end of the file as you've seenthere are no variable type declarations in pythonthis fact alone makes for much simpler language syntax than what you may be used to howeverfor most new users the lack of the braces and semicolons used to mark blocks and statements in many other languages seems to be the most novel syntactic feature of pythonso let' explore what this means in more detail block delimitersindentation rules as introduced in python detects block boundaries automaticallyby line indentation--that isthe empty space to the left of your code all statements indented the same distance to the right belong to the same block of code in other wordsthe statements within block line up verticallyas in column the block ends when the end of the file or lesser-indented line is encounteredand more deeply nested blocks are simply indented further to the right than the statements in the enclosing block compound statement bodies can appear on the header' line in some cases we'll explore laterbut most are indented under it for instancefigure - demonstrates the block structure of the following codex if xy if yprint('block 'print('block 'print('block 'this code contains three blocksthe first (the top-level code of the fileis not indented at allthe second (within the outer if statementis indented four spacesand the third (the print statement under the nested ifis indented eight spaces if tests and syntax rules