You are viewing a single comment's thread. Return to all comments →
readable version:
import re regex = re.compile(r'^[Hh][Ii] [^Dd]') n = int(input()) for _ in range(n): line = input() if (regex.match(line)): print(line)
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 →
readable version: