Skip to content

Category Archives: Python Programs

Given a list, the task is to write a python program that can split it into all possible tuple pairs combinations.  Input : test_list =… Read More
Given a tuple list with string and its magnitude, the task is to write a python program to join all the strings with maximum magnitudes.… Read More
Given a Matrix, the task is to write a python program to extract rows with has no repeated data types. Examples: Attention geek! Strengthen your foundations… Read More
In this article, we are going to discuss how to print current hour, minute, second, and microsecond using Python. In order to print hour, minute… Read More
Given a string S, the task is to print permutations of all words in a sentence. Examples:Attention reader! Don’t stop learning now. Get hold of… Read More
Given a string S representing a sentence, the task is to reorder all the palindromic words present in the sentence in sorted order. Examples:Attention reader!… Read More
Given a String with matrix representation, the task here is to write a python program that converts it to a matrix. Input : test_str =… Read More
Given two lists, the task is to write a python program that marks 1 for elements present in the other list else mark 0. Input… Read More
Given a list of strings with several hierarchies, the task is to write a python program to join those which have the same hierarchies. Elements… Read More
Given a list, the task is to write a Python Program to extract all the elements with its occurrence matching in set. Input : test_list… Read More
Given a Matrix, the task is to write a python program to print each row having custom borders. Input : test_list = [[4, 5, 6],… Read More
Given a list of sets, the task is to write a Python program to find duplicate sets. Input : test_list = [{4, 5, 6, 1},… Read More
Given size K and value N, the task is to write a Python Program to compute a list of powers of N till K. Input… Read More
Given a set, the task is to write a Python program to get all possible differences between its elements. Input : test_set = {1, 5,… Read More
Given a list of elements, and percent ranges, the task is to write a python program to extract all the elements whose frequency is present… Read More

Start Your Coding Journey Now!