# Python! import re with open('07.txt') as file: rows = file.read().splitlines() abba = re.compile(r'(\w)(\w)(?