diff --git a/labs02/task03.py b/labs02/task03.py index a1c3a85..2edea29 100644 --- a/labs02/task03.py +++ b/labs02/task03.py @@ -13,8 +13,12 @@ jak 'set', która przechowuje elementy bez powtórzeń.) def oov(text, vocab): - pass - + VerifiedList = [] + TextList = text.split(' ') + for TextListElement in TextList: + if TextListElement not in vocab: + VerifiedList.append(TextListElement) + return VerifiedList def tests(f):