Skip to content

Instantly share code, notes, and snippets.

@djadmin
Created August 23, 2013 07:09
Show Gist options
  • Save djadmin/6316365 to your computer and use it in GitHub Desktop.
Save djadmin/6316365 to your computer and use it in GitHub Desktop.
import re
for i in range(input()):
text=str(raw_input())
if re.search(r'^(hi [^d])',text,re.IGNORECASE):
print text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment