genes = ('HTR3A', 7, 9), ('ADAMTSL4', 10, 100), ('THSD4', 2000, 2800), ('PAPLN'
    , 2850, 3000)
TEs = ('a', 10, 11), ('b', 13, 17), ('c', 50, 2500), ('d', 2550, 2700), ('e',
    2800, 2900), ('f', 9999, 9999)
TE_in_TSS = get_TE_in_TSS(genes, TEs)
print(TE_in_TSS)
Double loop takes time