Skip to content

Instantly share code, notes, and snippets.

@djadmin

djadmin/saying-hi

Created Aug 23, 2013
Embed
What would you like to do?
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