Blog
Sets in Python
A set in Python is a unique data structure based on the mathematical concept of a set. It does not follow any order or index. Elements in a set are...
Tuples in Python
Similar to lists, tuples are an important data type in Python. Tuples follow a specific order; however, unlike lists, their elements cannot be...
List in Python
Lists are a widely used data type in Python. In most programming languages, they are known as arrays. They follow a specific order and can be...
String in Python
Strings have already been discussed in the Data Types section; But the prevalence of strings is so high that it is necessary to make a separate...
Python data types
In previous post we have seen about variables and operators in Python. If you notice, you may notice that the variables are different here, even...
Python Operators
In the previous post, we learned about variables in Python. An operator is something that operates on a variable or a constant, i.e., performs an...
Variables in Python
Like other programming languages, the concept of variables in Python is the same. A variable is a holder or container. Let's consider an example...
Comments and Documentation in Python
Comments and documentation help make any program comprehensible to everyone. Suppose we write a huge program or develop a software. If someone looks...
How Python Works
In the previous part, we saw a very simple Hello World program. We saw that whatever is written inside the print() function is shown as the output....