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