How to put new_value in the appropriate place in a list in so that the list is sorted correctly in Python

前端 未结 0 934
野的像风
野的像风 2021-02-07 03:13

I would like to create a function that takes in a list and a new_value. It will put the new_value at the appropriate place in the list. Basically if the list = [3,7,8,11] and ne

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