arranging list list[i:k] from greatest to smallest and vice versa

前端 未结 0 662
旧时难觅i
旧时难觅i 2020-12-04 08:33

Hello is there an easy way to sort the elements within list[i:k] from greatest to smallest and vice versa. Thanks :).

start = 3
end = 8
list = [443.41, 437.74         


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