diff --git a/TaskA01/Makefile b/TaskA01/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/TaskA01/run b/TaskA01/run new file mode 100644 index 0000000..6145da4 --- /dev/null +++ b/TaskA01/run @@ -0,0 +1,13 @@ +#!/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='')