Visualize the Different Color Channels of an RGB Image in Python using OpenCV

By Gaurav Jagwani

In this tutorial, we will learn to visualize different color channels of an RGB Image using OpenCV in Python. RGB (Red, Green, and Blue) model is the standard color model used in i.... Read More

Elementwise multiplication of two lists in Python

By Varun Bhattacharya

Hello programmers, in this tutorial we will see how to multiply two lists and get their product-wise elementwise in Python. There can be a possibility where the programmer may have.... Read More

How to remove blank lines from a .txt file in Python

By Sumit Chhirush

Hello programmers, in this tutorial, we will learn how to remove blank lines from a .txt file in Python. We can remove blank lines from a .txt file by using the strip() function. s.... Read More

Pygame screen.blit example

By Karshin Uppal

Here in this tutorial, we will learn how to use the blit() function in pygame with an example in Python. The blit() function in pygame is used when we want to copy one surface over.... Read More

Random sampling from a list in Python

By Gaurav Jagwani

In this tutorial, we will learn about Random sampling from a list in Python. We will use sample() function to return random values from a given list of elements. Random is a built-.... Read More

Implementation of Blowfish Encryption and Decryption in Python

By Abinash Reddy

We are living in a digital world, where data is stored online across many servers and warehouses. To protect data from theft, data need to be encrypted so that the end-user canR.... Read More

Sum of Nodes at Maximum Level of Binary Tree in C++

By Abinash Reddy

In this article, we will learn how to find the sum of nodes at the maximum level of a binary tree in C++. Example Input: 8 / \ 7 6 / \ / \ 3 2 1 4 Output: Sum of nodes at maximum l.... Read More

C++ program to convert preorder traversal to postorder traversal of BST

By Abinash Reddy

In this article, we will learn how to convert preorder traversal to postorder traversal of Binary Search Tree in C++. A tree is said to be a binary search tree (BST) if it satisfie.... Read More