diff --git a/TaskA02/task2.py b/TaskA02/task2.py new file mode 100644 index 0000000..02c0538 --- /dev/null +++ b/TaskA02/task2.py @@ -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"))