Linear reverse search python

前端 未结 0 483
难免孤独
难免孤独 2020-12-03 21:39

The linear search starts from index 0. How can I rewrite the function below to search from the end of the list instead of from the beginning?

def search(list,         


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