Question: 
Write a function to count total characters in a string.


Model's Code:
def count_charac(s):
    return len(s)



Sample Correct Code:
def count_charac(str1):
 total = 0
 for i in str1:
    total = total + 1
 return total


Asserts:
assert count_charac("python programming")==18
assert count_charac("language")==8
assert count_charac("words")==5


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 242 of 974: 175/242 (72.31404958677686%): success