Recursion not returning expected result

前端 未结 0 367
悲&欢浪女
悲&欢浪女 2020-12-15 04:35

I have the following recursion method:

def permute(instr, idx):
    if \'X\' not in instr:
        yield \'\'.join(instr)

    for i in range(idx, len(instr))         


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