def split_seq(sam_num, n_tile):
    """
    Split the number(sam_num) into numbers by n_tile
    """
    import math
    print(sam_num)
    print(n_tile)
    start_num = sam_num[0::int(math.ceil(len(sam_num) / (n_tile)))]
    end_num = start_num[1::]
    end_num.append(len(sam_num))
    return [[i, j] for i, j in zip(start_num, end_num)]
def split_seq ( sam_num , n_tile ) : import math print ( sam_num ) print ( n_tile ) start_num = sam_num [ 0 : : int ( math . ceil ( len ( sam_num ) / ( n_tile ) ) ) ] end_num = start_num [ 1 : : ] end_num . append ( len ( sam_num ) ) return [ [ i , j ] for i , j in zip ( start_num , end_num ) ]
Split the number(sam_num) into numbers by n_tile