UnboundLocalError: local variable 'l' referenced before assignment

后端 未结 0 860
挽巷
挽巷 2020-12-02 13:55

This is my code snippet of my recursive program

def move(ar,x,y):
    item = a[x]
    ar.pop(x)
    ar.insert(y,item)
def sort():
    while (l

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