attempt-1
This commit is contained in:
parent
a570a64ecb
commit
50c9dddbcd
0
TaskA02/Makefile
Normal file
0
TaskA02/Makefile
Normal file
13
TaskA02/run
Normal file
13
TaskA02/run
Normal file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import sys
|
||||
|
||||
def line_has_pies(line):
|
||||
if 'pies ' in line.casefold():
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
for line in sys.stdin:
|
||||
if line_has_pies(line):
|
||||
print(line, end='')
|
Loading…
Reference in New Issue
Block a user