words

Move M Words – End Reverse

The program must accept a string S which contains N words and move the first M words to the last in the reverse order. Input format:The first…

Reverse words

Given a string S as the input Write a program to print the reverse order of the words in the string S. Input Format:The first line contains S.…

Print Calendar Month in Words

The program must accept an integer value N and print the corresponding calendar month in words. 1 – January, 2 – February, …. , 11…

Count Words

Write an algorithm and write the Python code to count the number of unique words in a given passage. The paragraph may contain words with…

Toggle – Digits and Words

The program must accept a string S which contains digits as integer values and words. The program must toggle the digits to words and words to…

Subscribe to our Newsletter

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨