Posts from Python

Python Program to calculate the value of nPr

By Abinash Reddy

In this article, we will learn how to calculate the value of nPr in Python. Where nPr represented n permutation r. Permutation refers to the process of organizing all the individua.... Read More

Python program to check whether given array can form Arithmetic Progression

By Abinash Reddy

In this article, we will check whether given an array can form Arithmetic Progression in Python. Example Input: arr[] = {6, 4, 8, 2, 0} Output: Yes Explanation: Rearrange the given.... Read More

Check whether two strings are isomorphic to each other in Python

By Abinash Reddy

In this article, we will learn how to check whether the given two strings are isomorphic to each other in Python. Two strings are isomorphic if there is one-to-one mapping possible.... Read More

Chess Board Using MatPlotLib Python

By Abinash Reddy

In this article, we will learn how to create a chessboard using Python. In this, for creating a chessboard we are going to use MatPlotLib and Numpy Python modules. Create a Chess B.... Read More

Python program to represent n as the sum of exactly k power of 2

By Abinash Reddy

In this article, we will learn to represent n as the sum of exactly k power 2 in Python. Examples Input: n = 6, k = 2 Output: 2 4 Explanation: 2, 4 are both power of 2 and sum is 2.... Read More

Convert day number to date in particular year using Python

By Abinash Reddy

In this tutorial, we going to learn how to convert day number to date in particular year using Python language. For instance, the day number is 10 in the year 2020 then the date in.... Read More

Sum of Nth Power in Python

By Abinash Reddy

Program to find the number of ways that a given integer can be represented as the sum of the Nth power of the unique, natural numbers. For example, if X = 100 and N = 2, we have to.... Read More

Python program to find maximum product quadruple in an array

By Abinash Reddy

In this article, we will learn how to find the maximum product quadruple in an array using Python. A subsequence of size 4 is said to be a quadruple. Example Input: arr[] = {21, 4,.... Read More

Related Posts