Skip to content

Commit ec76be9

Browse files
committedMar 8, 2021
Commit
1 parent 8182f07 commit ec76be9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎Whoisleasthere.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#Q. 37:
2+
3+
#Who is least here(Strings)
4+
5+
#Write a Python program to count the number of lower-case letters in the entered string.
6+
#Refer sample input and output for formatting specification.
7+
#All float values are displayed correct to 2 decimal places.
8+
#All text in bold corresponds to input and the rest corresponds to output.
9+
10+
11+
string = input()
12+
c = 0
13+
for i in range(len(string)):
14+
if str.islower(string[i]):
15+
c = c + 1
16+
print(c)

0 commit comments

Comments
 (0)
Please sign in to comment.