summaryrefslogtreecommitdiff
path: root/progs/a212.py
blob: 2435e85ae10122e529fe8bbb771c537efaaf7eff (plain)
1
2
3
4
5
def string_length(str1):
    count = 0
    for char in str1:
        count += 1
    return count