Why is 'should equal' comming in between for the output ? And why is it repeating? : def alphabet_position(text):
    a= range(1,27)
    z=""
    b=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
    o=['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']
    for i in text:
        if i in b:
            k=b.index(i)
            z=z+" "+ str(a[k])
        elif i in o:
            k=o.index(i)
            z=z +" "+ str(a[k])
        else:
             pass
    
    return(z)


Output:

' 20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11' should equal '20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11'


Input:

test.assert_equals(alphabet_position("The sunset sets at twelve o' clock."), "20 8 5 19 21 14 19 5 20 19 5 20 19 1 20 20 23 5 12 22 5 15 3 12 15 3 11")


Why is 'should equal' comming in between for the output ? And why is it repeating ?