Posts by Ashutosh Srivastava

Author Biographical Info: Not available

Find and print the factors of the number in Python

By Ashutosh Srivastava

Learn how to find the factors of a number in Python with this simple program. Finding the factors of the number in Python There are several ways to find and print the factors of th.... Read More

Find the Middle element of Linked List in Python

By Ashutosh Srivastava

In this tutorial, we will learn how to find the middle element of a linked list in Python. Linked is a linear data structure. Each element consist of two items first being the data.... Read More

XOR code to find smallest B for which A+B=A^B

By Ashutosh Srivastava

Here we will learn to work with the properties of XOR operation in Python with an easy example. XOR GATE in Python The XOR operation basically outputs 1 if the inputs (binary) are .... Read More

Display the upper triangular matrix in Python

By Ashutosh Srivastava

In this tutorial, we will study the process of the upper triangular matrix in python3. Let’s understand what the upper triangular matrix means, it means all the values above .... Read More

Compress an image to minimize memory size in Python

By Ashutosh Srivastava

According to various surveys conducted it is seen that around 60-65% of the internet traffic consists of the images. The media-rich websites see to it that their images are optimiz.... Read More

Next greater number from the same set of digits in Python

By Ashutosh Srivastava

In this tutorial, we are here to find the next greater number from the same set of digits in Python entered by the user. Usually many times the reader gets often confused that what.... Read More