Length of a string
m = len ( s [ 0 ] ) NEW_LINE ans = s [ 0 ] NEW_LINE flag = 0 NEW_LINE for i in range ( m ) : NEW_LINE INDENT for j in range ( 26 ) : NEW_LINE INDENT x = list ( ans ) NEW_LINE DEDENT DEDENT