You are viewing a single comment's thread. Return to all comments →
import re pattern = (r":?.(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3})") for i in range(int(input())): b = re.findall(pattern, input()) if b: print(*b, sep="\n")
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 →