sorted() function affects the original list

后端 未结 0 2004
夕颜
夕颜 2020-12-15 15:58

I am testing some sorting algorithms by passing a list of strings to them. the structure is like this:

def test(test_case):
    ans = sorted(test_case)
    fo         


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