itertools query

Peter Otten __peter__ at web.de
Sat Sep 28 02:35:31 EDT 2019


> Pradeep Patra wrote:

> My idea is to include the last element of array a and first element of 
second array b  in the final array.

fr.append((a[-1], b[0]))




More information about the Python-list mailing list