Count Digits Letters Others

Python Medium 3 views
Back to Questions

Problem Description

A string s is provided (may contain spaces). Count how many characters are digits, how many are English letters, and how many are others. Output three counts.

Input Format

One line string s.

Output Format

One line: digits letters others.

Sample Test Case

Input:
Hi 20!
Output:
2 2 2

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next