djfz-2020-s444344/TaskA01/run

14 lines
193 B
Plaintext
Raw Permalink Normal View History

2020-11-08 17:02:04 +01:00
#!/usr/bin/python3
import sys
def ham(line):
if 'Hamlet' in line:
return True
else:
return False
for line in sys.stdin:
if ham(line):
print(line, end='')