djfz-2020-s444344/TaskA02/run
Zofia Bączyk 84bf82a748 attempt-1
2020-11-08 17:45:51 +01:00

13 lines
192 B
Python

#!/usr/bin/python3
import sys
def pies(line):
for x in line.split():
if x.lower() == "pies":
print(line.rstrip('\n'))
for line in sys.stdin:
pies(line)