So I'am trying to append every match of a string into a list with regex. So here is my code. It only doesn't work (properly) unfortunatly.
seq = 'ABABABBBASHDBDHBEHDBEDH'
Empty_list = []
regex_ex = re.finditer(r'.{3}', seq)
for x in regex_ex:
Empty_list.append(x)