## Python Program for Finding the vertex, focus and directrix of a parabola

A set of points on a plain surface that forms a curve such that any point on that curve is equidistant from the focus is… Read More »

## Python Program for Product of unique prime factors of a number

Given a number n, we need to find the product of all of its unique prime factors. Prime factors: It is basically a factor of… Read More »

## Python Program for Number of jump required of given length to reach a point of form (d, 0) from origin in 2D plane

Given three positive integers a, b and d. You are currently at origin (0, 0) on infinite 2D coordinate plane. You are allowed to jump… Read More »

## Print with your own font using Python !!

Given user input, this Python3 program will print the input in designed font. In this article, we will do some cool Python trick. For the… Read More »

## How to print without newline in Python?

Generally people switching from C/C++ to Python wonder how to print two or more variables or statements without going into a new line in python.… Read More »

## Python List

Lists are just like the arrays, declared in other languages. Lists need not be homogeneous always which makes it a most powerful tool in Python.… Read More »

## Python 3 | Program to print double sided stair-case pattern

Below mentioned is the python 3 program to print the double sided stair case pattern. Examples: Input : 10 Output : * * * *… Read More »

## Python | Print an Inverted Star Pattern

Here we are going to print inverted star pattern of desired sizes. Examples: 1) Below is the inverted star pattern of size n=5 (Because there… Read More »

## Python program to find common elements in three lists using sets

Prerequisite : Sets in Python Given three arrays, we have to find common elements in three sorted lists using sets. Examples : Input : ar1… Read More »

## Python program for removing i-th character from a string

Given the string, we have to remove the ith indexed character from the string. In any string, indexing always start from 0. Suppose we have… Read More »

## Python program to split and join a string

Python program to Split a string based on a delimiter and join the string using another delimiter. Split a string can be quite useful sometimes,… Read More »

## Python program to find Cumulative sum of a list

The problem statement asks to produce a new list whose element will be equal to the sum of the elements. Examples : Input : list… Read More »

## Python Program to check whether it is possible to make a divisible by 3 number using all digits in an array

Given an array of integers, the task is to find whether it’s possible to construct an integer using all the digits of these numbers such… Read More »

## Python Map | Length of the Longest Consecutive 1’s in Binary Representation of a given integer

Given a number n, find length of the longest consecutive 1s in its binary representation. Examples: Input : n = 14 Output : 3 The… Read More »

## Python program to find the most occurring character and its count

Given a string, write a python program to find the most occurrence character and its number of occurrences. Examples: Input : hello Output : (‘l’,… Read More »