How to get the most depth tuples with recursive function?

前端 未结 0 474
滥情空心
滥情空心 2020-11-27 13:39

Using python,

If i given this input

((\'Spinach\', (())), (\'Basil\'), ((\'Chicken\', )))

without iterations, how do I make the result

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