Python Grammar - Code Block

Card Puncher Data Processing

About

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





Discover More
Card Puncher Data Processing
Language - Code Block (Grouping of Statement)

An application is generally constructed from code blocks. A block is a piece of program text that group statement. It' is generally executed as a unit (excepted for SQL Block where block manipulation...
Card Puncher Data Processing
Python - If Statement

in Python See also: The block of code in Python is indented with 4 spaces. See Syntax: Example: Nested if/else:
Card Puncher Data Processing
Python - Name

in Python Names (refer to|are pointer for) objects. Names are introduced by name binding operations such as during the def process. targets that are identifiers if occurring in an assignment,...



Share this page:
Follow us:
Task Runner