Namespaces and Scope in Python

Namespace in Python is a system to uniquely identify each and every object. In Python, everything is an object. An object can be a variable, function, or method. Let’s, for example, consider the same file present in multiple directories in your computer. How do you reach each individual file even though they are the same? … Read more

7 Major Differences Between Python 2.X & Python 3.X

Python Programming Language is one of the most popular programming languages in the world. Python took a major leap when it launched its version 3.x in year 2008. There are significant performance increases along with other enhancements. At present, the latest stable version of Python is 3.10. Lets now see Print(): One of the prominent … Read more

Python Keywords

Keywords in Python are reserved words that can be used as a variable name, function name or any other identifier. Number of keywords might change in different python versions. There are 35 keywords in Python 3.10.4 List of Python Keywords: Since the keywords for a specific version might change, you can always get a list … Read more

How to print without a Newline in Python?

In Python whenever you print any statement, a newline is added by default. And, people coming from other languages find it weird and want to know how to avoid this newline. This happens because in Python, Newline is added as a default parameter to print() function. Let’s see some examples below and how can we … Read more

Why Python Programming Language?

Python is one of the most popular programming languages available today. At the time of writing this article, Python is ranked #1 language worldwide. Python is a very easy-to-learn high-level programming language. The first version of Python (i.e. v 0.9.0) was released in 1991 by Guido van Rossum. Because of its applicability in almost all … Read more