Created
August 23, 2013 07:09
-
-
Save djadmin/6316365 to your computer and use it in GitHub Desktop.
HackerRank Saying-Hi Problem
https://www.hackerrank.com/challenges/saying-hi
This file contains 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(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