我有一个这样的列表:
a_list = [1,2,3,4,5,6,7,8]
如何迭代它以产生下面的输出?
1,2 2,3 3,4 4,5 5,6 ...
谢谢
python loops list
list ×1
loops ×1
python ×1