djfz-2020-s444399/TaskB02/run
Kijowski Michał 1b89be1bb4 zadanie #2
2020-11-15 23:08:11 +01:00

12 lines
173 B
Python
Executable File

#!/usr/bin/python3
import sys
import re
for input in sys.stdin.readlines():
answer = re.search('( |^)(P|p)ies( |$)',input);
if answer:
print(input[:-1])
else:
pass