【发布时间】:2014-10-18 09:03:16
【问题描述】:
来自官方文档:
向左扩展(可迭代)
Extend the left side of the deque by appending elements from iterable. Note, the series of left appends results in reversing the order of elements in the iterable argument.
这种方法的行为背后的原因/概念是什么?我知道我可以使用reversed 轻松更改它,但我只是好奇。
【问题讨论】: