Posts by Pavitra Walia

Author Biographical Info:

Explicit Type Casting in Python Language

By Pavitra Walia

We all are familiar with the data types. Have you ever think of changing one data type to another data type. So, In this tutorial, we learn about how we can make this conversion ha.... Read More

Assert Statement in Python for Error Detection

By Pavitra Walia

We all are familiar with the word “debugging”. This term includes a variety of steps to debug a given code. One such part is the “assert statement”. In this.... Read More

Logic Gates In Python

By Pavitra Walia

This Python tutorial is about Logic Gates in Python. We will try to learn each of the logic gates in Python with some easy examples. Logic Gates in Python All of us are familiar wi.... Read More

Membership and Identity Operator in Python

By Pavitra Walia

In this tutorial, we will learn about Membership and Identity operator in Python 3.x earlier. This operator comes handy while using conditionals and looping constructs. Membership .... Read More

Paradox behind the operator ” += ” -> ” = + ” – plus equal operator in Python

By Pavitra Walia

In this tutorial, we will learn about the theory behind the paradox of the operator “+=” in Python 3.x and earlier. Here we will learn about the implementation of this .... Read More

Ternary Operator in Python

By Pavitra Walia

We all are familiar with the conditional if-else expressions so far. In this tutorial, we will learn about the shortening of the if-else ladder with the help of the ternary operato.... Read More

Coroutines in Python – Start and close coroutines example

By Pavitra Walia

In this Python tutorial, we will learn the basics of coroutines in Python with the code snippets. All of us are familiar with functions in Python 3.x or earlier which is also know.... Read More

‘sep’ and ‘end’ parameter in print() function Python

By Pavitra Walia

In this tutorial, we are going to learn about the print function parameters i.e sep and end. Earlier we don’t actually have the print as a function but as a statement. So it .... Read More