Counting the pairs of brackets in python

后端 未结 0 1348
我寻月下人不归
我寻月下人不归 2020-12-07 06:32

I trying to count the pair of brackets given and I wrote the below code but it doesn\'t seem to be counting the pairs correctly. The first pair is correct but the rest is 1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题