You are viewing a single comment's thread. Return to all comments →
import re p1 = r'{[^{}]*}' p2 = r'#[\da-fA-F]{3,6}' t = ''.join(input() for _ in range(int(input()))) t = ''.join(re.findall(p1, t)) print('\n'.join(re.findall(p2, t)))
Seems like cookies are disabled on this browser, please enable them to open this website
Hex Color Code
You are viewing a single comment's thread. Return to all comments →