parent
fd916dddbe
commit
ba0b9953b6
15
TaskA01/run
15
TaskA01/run
@ -1,15 +0,0 @@
|
||||
#!/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'))
|
Loading…
Reference in New Issue
Block a user