Why does Python start at index -1 (as opposed to 0) when indexing a list from the end? [duplicate]

后端 未结 7 2030
一向
一向 2021-01-30 02:43
热议问题