attempt-1
This commit is contained in:
parent
ba0b9953b6
commit
886f851a69
0
TaskA01/Makefile
Normal file
0
TaskA01/Makefile
Normal file
13
TaskA01/run
Normal file
13
TaskA01/run
Normal file
@ -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='')
|
Loading…
Reference in New Issue
Block a user