CBSE Class 11 : Python Strings 11

Question:4
Python script to take input for a string:
a. display it
b. count and print lower case alphabets in the string
Sol:

 

Question:5
Python script to take input for a string:
a. display it
b. count and print digits in the string
Sol:

 

Question:6
Python script to take input for a string:
a. display it
b. count and print vowels in the string
Sol: