Добавить u6/matching_brackets.py

This commit is contained in:
Arina Dohadailo 2026-10-17 21:46:58 +00:00
parent f2aee9c2eb
commit c76810f428

5
u6/matching_brackets.py Normal file
View File

@ -0,0 +1,5 @@
def is_paired (input_string):
for char input_string:
if char in opening:
stack.append(char)