You are viewing a single comment's thread. Return to all comments →
import re pattern = r'^[a-z]{,3}[0-9]{2,8}[A-Z]{3}' for i in range(int(input())): print("VALID" if re.search(pattern, input()) else "INVALID")
Seems like cookies are disabled on this browser, please enable them to open this website
Utopian Identification Number
You are viewing a single comment's thread. Return to all comments →