diff --git a/labs02/task03.py b/labs02/task03.py index 472fd7e..bb980c1 100644 --- a/labs02/task03.py +++ b/labs02/task03.py @@ -13,11 +13,12 @@ jak 'set', która przechowuje elementy bez powtórzeń.) def oov(text, vocab): - testList = [] - _textPlit =text.split("") - - - return + test_list = [] + _textSPlit =text.split(" ") + for i in _textSPlit: + if i not in vocab: + test_list.append(i) + return test_list