Ask Question

Python Question:

trying to get this down but im just stuck.

Heres the question:

Given a line of text as input, output the number of characters excluding spaces, periods, or commas.

Ex: If the input is: 'Listen, Mr. Jones, calm down.'

the output is: 21

Note: Account for all characters that aren't spaces, periods, or commas (Ex: "r", "2", "!").

+4
Answers (1)
  1. 28 January, 14:22
    0
    If your asking if its a true statement then yes it is
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Python Question: trying to get this down but im just stuck. Heres the question: Given a line of text as input, output the number of ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers