In this article, we will go through the swap() function from the C++ standard library. A string is a variable that stores a series of characters. As we know, we can use the swap fu.... Read More
Illustration This tutorial is based on plotting a 2-D heatmap using matplotlib in Python programming. A heatmap can be plotted using various methods, but here in this tutorial, we .... Read More
In many situations, we need to generate random boolean values in Python. It is similar to flipping a coin to get either heads or tails. We need random values to generate test cases.... Read More
In this tutorial, we will see how to find the first empty cell in a column of an excel sheet using openpyxl. openpyxl is a Python library used to work on Excel files. First, we mus.... Read More
This tutorial is based on the topic prefix which falls under the strings Prefix means working on the starting on the starting part of a string. In this post, we will discuss a few .... Read More
Sometimes, we can have huge Excel or CSV files with many rows and columns. In this case, loading such files directly in Python can cause the interpreter to crash. Thus, we can make.... Read More
In this tutorial, we will learn how to use the functions std::is_heap() and std::is_heap_until() in C++. You can use these functions to check whether a given list of elements is a .... Read More
In this post, we will learn about matplotlib.pyplot.hold but before going right to it let’s understand briefly what matplot is. The Matplotlib library allows you to plot data.... Read More