You are viewing a single comment's thread. Return to all comments →
import re N=int(input()) pattern =r'(\#[0-9a-fA-F]{3,6})(;|,|.;)' texto="" for _ in range (N): texto =texto+''.join(input()) matches =re.findall(pattern,texto) for match in matches: print(match[0])
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 →