Python program to calculate the number of letters and words

Editorial Staff - - Python Programming


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.


About: Editorial Staff

Editorial Staff at FreeWebMentor is a team of professional developers leads by Prem Tiwari


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.