Question: 
Write a python function to find the length of the longest word.


Model's Code:
def len_log(words):
    return max(len(word) for word in words)



Sample Correct Code:
def len_log(list1):
    max=len(list1[0])
    for i in list1:
        if len(i)>max:
            max=len(i)
    return max


Asserts:
assert len_log(["python","PHP","bigdata"]) == 7
assert len_log(["a","ab","abc"]) == 3
assert len_log(["small","big","tall"]) == 5


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

Test 90 of 974: 68/90 (75.55555555555556%): success