Created
March 17, 2017 15:56
-
-
Save rjshekar90/29b21cfdbe755c93aa64de3d4246e566 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
for i in range(int(raw_input())): | |
try: | |
if re.compile(raw_input()): print True | |
except: | |
print False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment