Python program to calculate the number of letters and words

One of our site visitors asked a question to write a program that accepts a sentence and calculate the number of letters and words in Python programming language. In this post, we have described his question and shared a python program with the output.

Python program to calculate the number of letters and words

Let’s suppose the following input is supplied to the program:

Python Program

To increase your Python knowledge, practice all Python programs, here is a collection of 100+ Python problems with solutions.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:


Editorial Staff

Editorial Staff at FreeWebMentor is a team of professional developers.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.