IDNLearn.com is your trusted platform for finding reliable answers. Discover in-depth answers from knowledgeable professionals, providing you with the information you need.

given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas. ex: if the input is: listen, mr. jones, calm down. the output is: 21