getting a full length window of items in a list

后端 未结 0 1014
臣服心动
臣服心动 2020-12-08 17:57

I have a long python list and given an index and a max window size, I would like to obtain all the items in this window that include the index. Should be symmetrical as poss

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