You are viewing a single comment's thread. Return to all comments →
vau!
import re regex = re.compile(r'^[_\.]\d+[a-zA-Z]*_?$') n = int(input()) for _ in range(n): print('VALID' if regex.match(input()) else 'INVALID')
Seems like cookies are disabled on this browser, please enable them to open this website
Alien Username
You are viewing a single comment's thread. Return to all comments →
vau!