Update u6/matching_brackets.py

This commit is contained in:
Maksym Liashenko 2026-10-13 12:58:23 +00:00
parent 387a95c663
commit 19a9c22b74

View File

@ -13,4 +13,4 @@ def is_paired(input_string):
return False return False
stack.pop() stack.pop()
return len(stack) ==0 return len(stack) ==0