We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8182f07 commit ec76be9Copy full SHA for ec76be9
Whoisleasthere.py
@@ -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