djfz-2020-s450026/TaskA01/A01.py
2020-11-08 15:49:37 +01:00

13 lines
211 B
Python

import sys
def line_contain_hamlet(line):
if 'Hamlet' in line:
return True
else:
return False
for line in sys.stdin:
if line_contain_hamlet(line):
print(line.rstrip('\n'))