Count Digits in String
Easy📝 Description
Count the number of digits in a string
Input Format
A single string
Output Format
Number of digits found
Constraints
String length ≤ 1000
🔍 Sample Input
Hello123World456
✅ Sample Output
6
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run