Posted in python very small program assignments

Two words combination in Python

Problem Statement: We are given a sentence, we need to find all possible combinations of two words and print them in lexicographical order. Ignore all…

Continue Reading
Posted in python very small program assignments

ID Card in Python

You are in college. Every student in your college has a unique ID on their ID Card. Unique ID contains letters, numbers, and hyphens(-). But…

Continue Reading
Posted in python very small program assignments

Cipher with a key in Python | Assignment Expert

Cipher means an algorithm that can be used to encrypt or decrypt messages or sentences. Encrypt means converting a message to a secret form that…

Continue Reading
Posted in python very small program assignments

Multiple of 5 in Python

Problem Statement: Here, we need to take an integer as input. Then, we need to take n integers as input in the next n lines….

Continue Reading
Posted in python very small program assignments

Sandglass Star in Python

Problem Statement: The problem statement is straightforward, we need to print a sandglass pattern using ‘*‘. We are given an integer and we need to…

Continue Reading
Posted in python very small program assignments

Multiple of 3 in Python | Assignment Expert

Problem Statement: We need to take an integer n as input, then the next n lines will take 1 integer as input. We need to…

Continue Reading
Posted in python very small program assignments

Ticket selling in Cricket Stadium using Python | Assignment Expert

Problem Statement: There’s a ticket-selling booth at the cricket stadium from where visitors have to buy tickets and only then, do they get entry. The…

Continue Reading
Posted in python very small program assignments

Sum of List Elements in Python

Problem Statement: Here, we are given a list of numbers, we need to find and print the index of the number which has an equal…

Continue Reading
Posted in python very small program assignments

All possible subsets in Python

Problem Statement: Here, we are given a sentence and we need to find and print all possible subsets from the words of the sentence. In…

Continue Reading
Posted in python very small program assignments

Names and Nicknames in Python

Problem Statement: It’s very simple, we need to find the number of strings equal to each other, and that’s it. This was the technical intro…

Continue Reading