Question: This is a Python 3 Code. I am trying to get it to count the and then print the number of lower case letters in

"This is a Python 3 Code. I am trying to get it to count the and then print the number of lower case letters in the string. Could you please help me with it.
def any_lowercase1(string):
countLower =0
for letter in string:
if string.islower():
countlower +=1
print(""The number of lower case letter is: ""+ countLower)
return countLower
else:
countUpper += QN091
message = any_lowercase1(""is this aYET lower case"")"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!