ReePrime China
Lecture 75: Python has Special Function Filter

此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。

Lecture 75: Python has Special Function Filter

14 次观看 06:45 Nafees AI Lab

描述


Python does have a special function called filter(). It is a built-in function that takes two arguments: a function and an iterable. The filter() function applies the given function to each item in the iterable and returns an iterator containing only the items for which the function returns True.