diff --git a/u6/matching_brackets.py b/u6/matching_brackets.py index e393c90..d54f23c 100644 --- a/u6/matching_brackets.py +++ b/u6/matching_brackets.py @@ -10,3 +10,4 @@ def is_paired(input_string): return False spisok.pop() + return len(spisok) == 0