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