attempt 1
This commit is contained in:
parent
afdb5a15e8
commit
e9fc3082f1
0
TaskB02/Makefile
Normal file
0
TaskB02/Makefile
Normal file
9
TaskB02/run
Normal file
9
TaskB02/run
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user