Question
Write a program to accept a string from the user and display the following : [3]
Number of words in the string
Number of uppercase characters, lower case characters, digits and special characters
percentage of character that are alpha numeric.
Example
Input :
Python 3.7 is a Object Oriented Programming Language used in 2019
Output:
Number of Words : 11
Number of uppercase Characters : 5
Number of lowercase characters : 43
Number of digits : 6
Number of special characters : 11
Percentage of character that are alpha numeric : 83%
Write a program to accept a string from the user and display the following : [3]
Number of words in the string
Number of uppercase characters, lower case characters, digits and special characters
percentage of character that are alpha numeric.
Example
Input :
Python 3.7 is a Object Oriented Programming Language used in 2019
Output:
Number of Words : 11
Number of uppercase Characters : 5
Number of lowercase characters : 43
Number of digits : 6
Number of special characters : 11
Percentage of character that are alpha numeric : 83%
Sign Up to score 💯 in class 12 computer science