You are viewing a single comment's thread. Return to all comments →
import re for i in range(int(input())): [print(match[0]+match[1]) for match in re.findall(r'([#]{1})([0-9a-fA-F]{3,6})([;,\\)])', input())]
Hex Color Code
You are viewing a single comment's thread. Return to all comments →