djfz-2020-s450026/TaskB01/B01.py
2020-11-12 18:02:57 +01:00

11 lines
182 B
Python

import re
import sys
def line_contain_hamlet(line):
return re.search('Hamlet', line)
for line in sys.stdin:
if line_contain_hamlet(line):
print(line.rstrip('\n'))