Python allows to create small anonymous function using lambda ... 'parrots', 'ferrets'] pets.sort(key=lambda word: word[::-1]) pets.
確定! 回上一頁