Python Commenting Methods
Comments in Python are lines of code that are ignored by the interpreter. Python supports single-line and multi-line comments. A single-line comment makes the interpreter skip one line of code while a...
View ArticlePython Namespace Scope
The namespace is one of the mandatory concepts in Python. It refers to programming rules that define the scope of functions, variables, and classes. The concept of namespaces is not limited to any...
View ArticlePython Statement & Indentation
A Python statement is the most basic executable element of the code. The other entities around it are indentation and expressions. In this tutorial, we’ll explain each of them in detail and the...
View ArticlePython Check Variable Type
Let’s find out how to check the type of variables using Python’s built-in functions and some other ways with full code examples. You will be able to use these methods to determine which type a variable...
View ArticlePython Keywords & Variables
This tutorial unwraps the three most essential building blocks of Python programming – keywords, identifiers, and variables. All of these are part of the Python programming syntax. So, you should know...
View ArticlePython Check Version
Do you know how to check the Python version you are using? This tutorial provides you with 10 different ways to check the Python version. Now, you may ask why use code and 10 different methods. It is...
View ArticlePython Syntax Guide
In this guide, we will break down different parts of Python syntax, with clear explanations and plenty of examples to help you get the hang of it. Understanding Python Programming Syntax Python is a...
View ArticlePass by Reference vs Pass by Value in Python
Is Python pass by reference or pass by value? This question intrigues every Python programmer coming from a C or Java background. In this tutorial, you will get its answer and learn the meaning of...
View Article