What are Python\'s equivalent of the following (Javascript):
function wordParts (currentPart, lastPart) { return currentPart+lastPart; } word = [\'Che\', \'
The first is:
from functools import * def wordParts (currentPart, lastPart): return currentPart+lastPart; word = ['Che', 'mis', 'try'] print(reduce(wordParts, word))