attempt-1

This commit is contained in:
s444379 2020-11-08 16:17:07 +01:00
parent a570a64ecb
commit 50c9dddbcd
2 changed files with 13 additions and 0 deletions

0
TaskA02/Makefile Normal file
View File

13
TaskA02/run Normal file
View 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='')