TaskA01 done

This commit is contained in:
kubapok 2020-10-26 14:57:00 +01:00
parent 9ed7398c52
commit fd916dddbe
2 changed files with 15 additions and 0 deletions

0
TaskA01/Makefile Normal file
View File

15
TaskA01/run Normal file
View File

@ -0,0 +1,15 @@
#!/usr/bin/python3
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'))