You are viewing a single comment's thread. Return to all comments →
import re pattern = r'(?<!^)#(?:[\da-f]{3}){1,2}' [print(*m, sep='\n') for _ in range(int(input())) if (m := re.findall(pattern, input(), re.I))]
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 →