You are viewing a single comment's thread. Return to all comments →
python3
s='''''' for _ in range(int(input())): s=s+input()+'\n' mat = re.findall(r'#[a-fA-F0-9]{3,6}\s{0,}[,);]',s) for i in mat: if ';' or ',' or ')' or '\n' in i: a=i.strip(";),\n") print(a)
Hex Color Code
You are viewing a single comment's thread. Return to all comments →
python3