Добавить u6/matching_brackets.py
This commit is contained in:
parent
f2aee9c2eb
commit
c76810f428
5
u6/matching_brackets.py
Normal file
5
u6/matching_brackets.py
Normal file
@ -0,0 +1,5 @@
|
||||
def is_paired (input_string):
|
||||
for char input_string:
|
||||
if char in opening:
|
||||
stack.append(char)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user