5 lines
No EOL
85 B
Python
5 lines
No EOL
85 B
Python
def f(L):
|
|
S = []
|
|
for i in range(len(L)-1):
|
|
S.append(L[i] + L[i+1])
|
|
return S |