Python enumerate reverse index only

前端 未结 10 2228
情深已故
情深已故 2021-02-05 05:43

I am trying to reverse the index given by enumerate whilst retaining the original order of the list being enumerated.

Assume I have the following:



        
10条回答
提交回复
热议问题