Posted in python very small program assignments

Hyphenate Letters in Python

Problem Statement: It is really easy to hyphenate letters in python. We just need to add hyphens or dash: “-” between each alphabet in the…

Continue Reading
Posted in python very small program assignments

Earthquake in Python | Easy Calculation

Problem Statement: The problem of the earthquake in python is that we need to find the difference in energy of an earthquake of a certain…

Continue Reading
Posted in python very small program assignments

Striped Rectangle in Python

Problem Statement: The problem is that we need to display a striped rectangle in python. The number of rows and columns is input by the…

Continue Reading
Posted in python very small program assignments

Perpendicular Words in Python

Problem Statement: We need to convert normal words into perpendicular words in python. The user will input a series of words with an equal number…

Continue Reading
Posted in python very small program assignments

Composite Number in Python

Problem Statement: The problem is to check if a number is a composite number in python. Composite numbers are numbers that are divisible by other…

Continue Reading
Posted in python very small program assignments

Greatest Among Four Numbers in Python

Problem Statement: The problem is very straightforward. We need to check the maximum or the greatest among four numbers in python. At the initial, the…

Continue Reading
Posted in python very small program assignments

Reverse the sentence in Python

Problem Statement: The problem is that we need to reverse the sentence in python. We cannot really reverse it using the conventional method of reversing…

Continue Reading
Posted in python very small program assignments

Denominations in Python

Problem Statement: The problem of denominations in python is very easy. The user gives us a total amount and we should count the number of…

Continue Reading
Posted in python very small program assignments

Min and max values in an array in JavaScript

Problem Statement: You are given an array, you need to find and print the minimum and maximum values. Code to find Min and max values…

Continue Reading
Posted in python very small program assignments

Keyboard events in JavaScript

Problem Statement: We will be given continuous inputs from the keyboard. We need to check Keyboard events in JavaScript and show the total number of…

Continue Reading