Posts from Python

Mirror Characters using Dictionary in Python

By Srishti Chakraborti

In this tutorial, we will be solving a task to mirror characters from a given point of a string using dictionary in Python. If you have worked with Python before, you should know .... Read More

Check for the standard password in Python using Sets

By HIMANSHU ZAVERI

In this post also we will check whether the password is in standard format or not in Python. But unlike the previous post, this time we will use sets and their in-built functions. .... Read More

Generating first ten numbers of Pell series in Python

By Souhardya Ganguly

In this tutorial, you will learn about Pell Series and how to generate them in Python. Let’s get started! What are Pell series? Pell Series is a series where subsequent numb.... Read More

YouTube Video To Audio Downloader using Python

By Karan Trehan

We often try to download YouTube Videos as Audios alone and for that, we generally end up searching websites that would assist us in doing the same. Subsequently, we find websites .... Read More

Python Program to find smallest missing prime number in an array

By Abinash Reddy

Given an array containing n distinct numbers. We will learn how to find the smallest missing prime number in the given array in Python. Example Input: arr[] = {2, 3, 9, 10, 5, 6} O.... Read More

Taking a number and rearranging its digits in ascending order to form a new number in Python

By Souhardya Ganguly

In this Python tutorial, we will learn how to take a number and rearrange its digits in ascending order to form a new number. We shall be sorting the number using the sort() functi.... Read More

Find a number repeating and missing in an array in Python

By HIMANSHU ZAVERI

In this post, we will find the number repeating and the number missing in an array in Python programming. You may encounter this problem in coding contests or competitive programmi.... Read More

Python Program to find the length of largest subarray with sum k

By Abinash Reddy

Given an array of integers, we are going to find the length of the largest subarray with sum k in Python. For example Input: arr[] = {2, 4, 5, 6, -3, 1} k = 12 Output: 4 Explanatio.... Read More