djfz-2020-s444344/TaskB02/run
Zofia Bączyk e9fc3082f1 attempt 1
2020-11-22 13:57:23 +01:00

10 lines
192 B
Python

#!/usr/bin/python3
import sys
import re
for line in sys.stdin:
if not re.search(r'^[P|p]ies | [P|p]ies | [P|p]ies$|^[P|p]ies$',line) == None:
print(line, end ='')
else: pass