Python | Remove duplicate tuples from list of tuples

Given a list of tuples, Write a Python program to remove all the duplicated tuples from the given list. Examples: Input : [(1, 2), (5,… Read More »

Python | Named Entity Recognition (NER) using spaCy

Named Entity Recognition (NER) is a standard NLP problem which involves spotting named entities (people, places, organizations etc.) from a chunk of text, and classifying… Read More »

Word Prediction using concepts of N – grams and CDF

Have some basic understanding about – CDF and N – grams Problem Statement – Given any input word and text file, predict the next n… Read More »

Python | Speech recognition on large audio files

Speech recognition is the process of converting audio into text. This is commonly used in voice assistants like Alexa, Siri, etc. Python provides an API… Read More »

Python | URL shortener using tinyurl API

There are multiple APIs (e.g-bitly API, etc.) available for URL shortening service but in this article, we will be using Tinyurl API to shorten URLs.… Read More »

Python | Filter a list based on the given list of strings

Given a List, the task is to filter elements from list based on another list of strings. These type of problems are quite common while… Read More »

Python program to print all Strong numbers in given list

Given a list, write a Python program to print all the strong numbers in that list. Strong Numbers are the numbers whose sum of factorial… Read More »

Interquartile Range and Quartile Deviation using NumPy and SciPy

Quartiles : A quartile is a type of quantile. The first quartile (Q1), is defined as the middle number between the smallest number and the… Read More »

Univariate Linear Regression in Python

Univariate data is the type of data in which the result depends only on one variable. For instance, dataset of points on a line can… Read More »

Python program to create a list centered on zero

Given two integer variables, limit and diff, write a Python program to create a list that is centered on zero, using limit, which specifies limit… Read More »

Python Regex | Program to accept string ending with alphanumeric character

Prerequisite: Regular expression in Python Given a string, write a Python program to check whether the given string is ending with only alphanumeric character or… Read More »

Python | Convert a list to dictionary

Given a list, write a Python program to convert the given list to dictionary such that all the odd elements have the key, and even… Read More »

Python | Convert key-value pair comma separated string into dictionary

Given a string, with different key-value pairs separated with commas, the task is to convert that string into the dictionary. These types of problems are… Read More »

Python | Ways to remove n characters from start of given string

Given a string and a number ‘n’, the task is to remove a string of length ‘n’ from the start of the string. Let’s a… Read More »

Python | Check whether string contains only numbers or not

Given a string, write a Python program to find whether a string contains only numbers or not. Let’s see a few methods to solve the… Read More »