summaryrefslogtreecommitdiff
path: root/progs/a605.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a605.py')
-rw-r--r--progs/a605.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a605.py b/progs/a605.py
new file mode 100644
index 0000000..d820c8d
--- /dev/null
+++ b/progs/a605.py
@@ -0,0 +1,5 @@
+def count_charac(str1):
+ total = 0
+ for i in str1:
+ total = total + 1
+ return total \ No newline at end of file