Write a Python Program to Count and print Number of Lowercase Characters in a String


Topic: Write a Python Program to Count and print Number of Lowercase Characters in a String

Solution

string='This is an Assignment'
count=0
for i in string:
      if(i.islower()):
            count=count+1
print("The number of lowercase characters is:")
print(count)



List all Python Programs