You are viewing a single comment's thread. Return to all comments →
Copying predecessor hacker, Python one line solution:
print(*[s for s in [input() for _ in range(int(input()))] if re.search(r"^[hH][iI]\s[^dD]", s)], sep='\n')
Seems like cookies are disabled on this browser, please enable them to open this website
Saying Hi
You are viewing a single comment's thread. Return to all comments →
Copying predecessor hacker, Python one line solution: