Skip to content

Category Archives: Python Programs

Given a list of words in Python, the task is to remove the Nth occurrence of the given word in that list.Examples:   Input: list -… Read More
To implement an algorithm to determine if a string contains all unique characters. Examples:  Input : s = “abcd” Output: True “abcd” doesn’t contain any duplicates. Hence the… Read More
Here, We’ll be making Indian Flag in Python using Spyder tool which is a part of Anaconda interface. It is the beginner’s practice problem for… Read More
The Sierpinski Carpet is a plane fractal curve i.e. a curve that is homeomorphic to a subspace of plane. It was first described by Waclaw… Read More
Given an array A containing n integers. The task is to check whether the array is Monotonic or not. An array is monotonic if it… Read More
Given two sentences as strings A and B. The task is to return a list of all uncommon words. A word is uncommon if it… Read More
Given starting and end points, write a Python program to print all even numbers in that given range. Example: Input: start = 4, end =… Read More
Given starting and end points, write a Python program to print all odd numbers in that given range. Example: Input: start = 4, end =… Read More
Given a list of numbers, write a Python program to print all odd numbers in given list. Example: Input: list1 = [2, 7, 5, 64,… Read More
Given a list of numbers, write a Python program to print all even numbers in the given list. Example:  Input: list1 = [2, 7, 5,… Read More
Given a list of tuples, write a Python program to sort the tuples by the second item of each tuple. Examples: Input : [('for', 24),… Read More
Given start and end of a range, write a Python program to print all negative numbers in given range. Example: Input: start = -4, end… Read More
Given a list of numbers, write a Python program to print all negative numbers in given list. Example: Input: list1 = [12, -7, 5, 64,… Read More
Given start and end of a range, write a Python program to print all positive numbers in given range. Example: Input: start = -4, end… Read More

Start Your Coding Journey Now!