def all_same_length(seqs):
    """
    Ensure all strings are of same length and
    determine what that length is
    """
    seq = seqs[0]
    n = len(seq)
    assert all(len(s) == n for s in seqs)
    return n