diff options
Diffstat (limited to 'progs/a217.py')
-rw-r--r-- | progs/a217.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a217.py b/progs/a217.py new file mode 100644 index 0000000..1fa8090 --- /dev/null +++ b/progs/a217.py @@ -0,0 +1,5 @@ +def lower_ctr(str):
+ lower_ctr= 0
+ for i in range(len(str)):
+ if str[i] >= 'a' and str[i] <= 'z': lower_ctr += 1
+ return lower_ctr
\ No newline at end of file |