Python Indentation and Comments

Table of contents Python Indentation and Code Blocks Python Comments How to write comments in Python? Single-line Comments Multi-line Comments Python Indentation and Code Blocks If you are familiar with other programming languages such as C, C++, or Java, you …

Python Statement and Expression

Table of contents Python Statements Python Assignment Statements Python Multi-line Statements Multiple Statements in a Single Line Python Expressions Python Statements Python statements are the instructions that python interpreter executes. For example, count = 1 is a statement which assigns …

Python Identifiers and Keywords

Table of contents Python Identifiers Python identifier writing rules Python identifier writing conventions Python Keywords or Reserved Words List of Python Keywords Python Identifiers Like other programming languages, identifiers in python are those names that identify a variable, function, class, …