Does range() return a Linked List in Python? Iterator vs List

前端 未结 0 1942
太阳男子
太阳男子 2021-01-25 03:27

I come from Java, and in my mind I\'m attributing the list[] data structure in Python to an ArrayList in Java. However, I read that the range() function returns an iterator, and

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