Category: 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…
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…
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…
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…
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…
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…
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…
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…
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…
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…