Category Python

What are Literals in Python

Types of literals in Python language

A literal in Python is a way to represent a fixed value or raw data in the source code. It directly appears in the program and does not change during the execution of a program. Literals can be either numbers,…

Comments in Python

In this tutorial, we are going to discuss the importance of comments in Python programming. It is important to understand the significance of writing comments while coding. Comments in Python are non-executable statements written within programs that describe a step,…

Python Tokens | Character Set Used in Python

Tokens used in Python

Tokens are the various elements in the Python program that are identified by Python interpreter. A token is the smallest individual unit, or element in the Python program, which is identified by interpreter. They are building blocks of the source…

Memory Management in Python

Memory management in Python

Memory management in Python is the process by which the computer system reserves a part or complete section of memory for the process and execution of programs. It allows the application programs to read and write data. We know that…

What is Indentation in Python

An example of Line indentation in Python

Indentation is one of the most significant features of Python. It refers to white spaces to denote the beginning of a block of code. In other programming languages like Java, developers use indentation to keep their code neat and to…