String in Python

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 post. So here we will discuss Python strings and its built-in functions in detail. In last blog post we showed just...
Python data types

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 though we have been dealing with numeric values so far. But in order to work normally, we have to work with different types...
Python Operators

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 operation. We have been familiar with operators for a long time. For example, let’s consider a mathematical...
Variables in Python

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 from our everyday life. We drink water every day; how do we do it? Initially, we pour water from a large container...
Comments and Documentation in Python

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 at that code, it’s natural for them not to understand it. Therefore, the best practice is to use enough comments...