task2 done
This commit is contained in:
parent
35dfc38168
commit
d9c12d5d2f
5
TaskA02/task2.py
Normal file
5
TaskA02/task2.py
Normal file
@ -0,0 +1,5 @@
|
||||
with open("polish_wiki_excerpt.in", encoding="utf8") as f:
|
||||
lines = f.readlines()
|
||||
for line in lines:
|
||||
if "Pies " in line or " pies " in line or "pies\n" in line:
|
||||
print(line.strip("\n"))
|
Loading…
Reference in New Issue
Block a user