Python Grammar - Code Block


Language - Code Block (Grouping of Statement) in Python

Python follows the off-side rule. Instead of punctuation or keywords, it uses indentation to delimit program blocks of statement. (Pfff!)

The block of code in Python is indented with 4 spaces (tabs ??).

A whitespace in Python is a space or a tab.

Documentation / Reference

Powered by ComboStrap