並前往https://medium.com/analytics-vidhya/creating-own-reduce-and-filter-function-in-python-7e157c899532